pub enum SchemaShape {
Scalar,
Array,
Object,
}Expand description
Broad schema shape labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SchemaShape
impl Clone for SchemaShape
Source§fn clone(&self) -> SchemaShape
fn clone(&self) -> SchemaShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaShape
impl Debug for SchemaShape
Source§impl Default for SchemaShape
impl Default for SchemaShape
Source§impl Display for SchemaShape
impl Display for SchemaShape
Source§impl FromStr for SchemaShape
impl FromStr for SchemaShape
Source§impl Hash for SchemaShape
impl Hash for SchemaShape
Source§impl Ord for SchemaShape
impl Ord for SchemaShape
Source§fn cmp(&self, other: &SchemaShape) -> Ordering
fn cmp(&self, other: &SchemaShape) -> Ordering
1.21.0 (const: unstable) · 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 SchemaShape
impl PartialEq for SchemaShape
Source§fn eq(&self, other: &SchemaShape) -> bool
fn eq(&self, other: &SchemaShape) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SchemaShape
impl PartialOrd for SchemaShape
impl Copy for SchemaShape
impl Eq for SchemaShape
impl StructuralPartialEq for SchemaShape
Auto Trait Implementations§
impl Freeze for SchemaShape
impl RefUnwindSafe for SchemaShape
impl Send for SchemaShape
impl Sync for SchemaShape
impl Unpin for SchemaShape
impl UnsafeUnpin for SchemaShape
impl UnwindSafe for SchemaShape
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