How do I restrict a struct field to only have certain specific values

This page summarizes the projects mentioned and recommended in the original post on /r/rust

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • flux

    Refinement Types for Rust (by flux-rs)

  • Or https://github.com/flux-rs/flux

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Languages on the rise like Rust and Go are being quite vocal against inheritance and many engineers seem to agree. Is this the end of inheritance? What do you think?

    2 projects | /r/rust | 4 Jul 2023
  • Graydon Hoare: Batten Down Fix Later

    3 projects | /r/rust | 30 May 2023
  • Flux is a refinement type checker for Rust

    1 project | news.ycombinator.com | 2 Jun 2023
  • Trying to find a crate that allows you to constrain the value of arguments in various ways via a proc macro

    2 projects | /r/rust | 16 May 2023
  • Komorebi – A tiling window manager for Windows written in Rust

    1 project | news.ycombinator.com | 3 May 2024