pub struct SchemaValueTree {
pub value_nodes: Vec<SchemaValueNode>,
pub root: i32,
}Expand description
§============================================================ Schema value (always paired with a schema-graph)
A flat schema-value tree. Always travels paired with a schema-graph
(see typed-schema-value). Indices refer to entries in value-nodes
within this same tree.
The value tree is structurally driven by the schema: record-value payload order matches the schema’s field order, variant-value carries a case index, enum-value carries a case index, union-value carries the discriminator’s literal tag. The value side does not redundantly carry field names, case names, or named-ref identifiers — those come from the schema.
Fields§
§value_nodes: Vec<SchemaValueNode>§root: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaValueTree
impl RefUnwindSafe for SchemaValueTree
impl Send for SchemaValueTree
impl Sync for SchemaValueTree
impl Unpin for SchemaValueTree
impl UnsafeUnpin for SchemaValueTree
impl UnwindSafe for SchemaValueTree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more