Expand description
Re-exports§
pub use crate::schema_compat::classify_schema_update;
Structs§
- Collection
Id - Stable numeric id for a registered collection (assigned at create time, starting at
1). - Collection
Schema - High-level description of a collection (name, version, fields); used by tooling and derives.
- Field
Def - One field’s path, type, and optional constraints within a collection schema.
- Field
Path - Dot-style path segments for a field (v1 rows use single-segment top-level names only).
- Index
Def - Secondary index definition for one collection schema.
- Schema
Version - Monotonic schema version for one collection (starts at
1on create; bumps on each new version).
Enums§
- Constraint
- Declarative constraint on a field (0.6+). Evaluated on insert after type checks.
- Index
Kind - Kind of secondary index.
- Schema
Change - Compatibility classification for a proposed schema update.
- Type
- Logical type of a field in the catalog (mirrors encoding in record payloads where supported).
Traits§
- DbModel
- Marker trait for Rust types that map to ModelVault collection records.