pub enum SchemaKind {
Properties(BTreeMap<PropertyName, (Schema, bool)>),
Ref(RefPath),
Ty(Type),
}
Expand description
The kind of a Schema
Variants§
Trait Implementations§
Source§impl Clone for SchemaKind
impl Clone for SchemaKind
Source§fn clone(&self) -> SchemaKind
fn clone(&self) -> SchemaKind
Returns a copy 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 SchemaKind
impl Debug for SchemaKind
Source§impl Ord for SchemaKind
impl Ord for SchemaKind
Source§fn cmp(&self, other: &SchemaKind) -> Ordering
fn cmp(&self, other: &SchemaKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SchemaKind
impl PartialEq for SchemaKind
Source§impl PartialOrd for SchemaKind
impl PartialOrd for SchemaKind
impl Eq for SchemaKind
impl StructuralPartialEq for SchemaKind
Auto Trait Implementations§
impl Freeze for SchemaKind
impl RefUnwindSafe for SchemaKind
impl Send for SchemaKind
impl Sync for SchemaKind
impl Unpin for SchemaKind
impl UnwindSafe for SchemaKind
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