icydb-model 0.217.2

IcyDB application-model authoring, validation, and code generation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use icydb_model::prelude::*;

#[newtype(
    item(prim = "Nat8"),
    ty(rule(
        name = "range",
        numeric_minimum_inclusive(value = 0),
        numeric_maximum_inclusive(value = 100)
    ))
)]
pub struct MultipleOperations {}

fn main() {}