Skip to main content

Crate icydb_model

Crate icydb_model 

Source
Expand description

IcyDB application-model authoring and code generation.

This package owns application declarations, the host-only authoring graph, explicit application validation and normalization, and lowering into the public icydb_schema proposal contract. It is not database authority.

Re-exports§

pub use application::NormalizeAndValidate;
pub use normalize::normalize;
pub use validate::validate;

Modules§

application
Explicit application-owned normalization and validation composition.
base
Module: base
build
error
fragment
Module: fragment
node
Schema node graph for validated canister/entity/type definitions.
normalize
Module: normalize
prelude
Shared schema-building prelude used by validators, macros, and tests.
schema
Exact public proposal vocabulary consumed by application-model lowering.
types
validate
Module: validate
visitor
Module: visitor

Macros§

err

Enums§

Error
Error

Constants§

MAX_INDEX_FIELDS
Maximum number of key terms in one index.

Traits§

EntitySource
Schema-authored entity source identity emitted for runtime-enabled models.
Inner
Borrowed and consuming access to one-field application wrappers.
Path
Fully-qualified path identity for generated application declarations.

Attribute Macros§

canister
Expand an application declaration for its selected authoring surface.
entity
Expand an application declaration for its selected authoring surface.
enum_
Expand an application declaration for its selected authoring surface.
list
Expand an application declaration for its selected authoring surface.
map
Expand an application declaration for its selected authoring surface.
newtype
Expand an application declaration for its selected authoring surface.
normalizer
Expand an application declaration for its selected authoring surface.
record
Expand an application declaration for its selected authoring surface.
set
Expand an application declaration for its selected authoring surface.
store
Expand an application declaration for its selected authoring surface.
tuple
Expand an application declaration for its selected authoring surface.
validator
Expand an application declaration for its selected authoring surface.

Derive Macros§

Add
Derive addition for one-field application wrappers.
AddAssign
Derive additive assignment for one-field application wrappers.
Deref
Derive Deref for a one-field application wrapper.
DerefMut
Derive DerefMut for a one-field application wrapper.
Display
Derive display forwarding for one-field application wrappers.
Div
Derive division for one-field application wrappers.
DivAssign
Derive divisive assignment for one-field application wrappers.
Inner
Derive borrowed and consuming inner access for one-field wrappers.
Mul
Derive multiplication for one-field application wrappers.
MulAssign
Derive multiplicative assignment for one-field application wrappers.
Neg
Derive negation for one-field application wrappers.
Product
Derive iterator multiplication for one-field application wrappers.
Rem
Derive remainder for one-field application wrappers.
RemAssign
Derive remainder assignment for one-field application wrappers.
Sub
Derive subtraction for one-field application wrappers.
SubAssign
Derive subtractive assignment for one-field application wrappers.
Sum
Derive iterator summation for one-field application wrappers.