pub struct ShapeNode {
pub kind: ShapeKind,
pub constraints: Vec<ConstraintDesc>,
}Expand description
Introspection projection of a schema: primitive kind plus declared constraints.
Fields§
§kind: ShapeKindWhich primitive family this schema validates.
constraints: Vec<ConstraintDesc>Declared constraints in declaration order.
Trait Implementations§
impl StructuralPartialEq for ShapeNode
Auto Trait Implementations§
impl Freeze for ShapeNode
impl RefUnwindSafe for ShapeNode
impl Send for ShapeNode
impl Sync for ShapeNode
impl Unpin for ShapeNode
impl UnsafeUnpin for ShapeNode
impl UnwindSafe for ShapeNode
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