pub struct SchemaNode {
pub content: SchemaNodeContent,
pub metadata: SchemaMetadata,
pub ext_types: IndexMap<Identifier, ExtTypeSchema>,
}Expand description
A single schema node
Fields§
§content: SchemaNodeContentThe type definition, structure, and constraints
metadata: SchemaMetadataCascading metadata (description, deprecated, default, examples)
ext_types: IndexMap<Identifier, ExtTypeSchema>Extension type definitions for this node ($ext-type.X)
Trait Implementations§
Source§impl Clone for SchemaNode
impl Clone for SchemaNode
Source§fn clone(&self) -> SchemaNode
fn clone(&self) -> SchemaNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchemaNode
impl Debug for SchemaNode
Source§impl PartialEq for SchemaNode
impl PartialEq for SchemaNode
impl StructuralPartialEq for SchemaNode
Auto Trait Implementations§
impl Freeze for SchemaNode
impl RefUnwindSafe for SchemaNode
impl Send for SchemaNode
impl Sync for SchemaNode
impl Unpin for SchemaNode
impl UnwindSafe for SchemaNode
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