pub enum SchemaLiteral {
String(String),
Number(f64),
Boolean(bool),
Null,
}Expand description
A literal value in a schema
Variants§
Trait Implementations§
Source§impl Clone for SchemaLiteral
impl Clone for SchemaLiteral
Source§fn clone(&self) -> SchemaLiteral
fn clone(&self) -> SchemaLiteral
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 SchemaLiteral
impl Debug for SchemaLiteral
Auto Trait Implementations§
impl Freeze for SchemaLiteral
impl RefUnwindSafe for SchemaLiteral
impl Send for SchemaLiteral
impl Sync for SchemaLiteral
impl Unpin for SchemaLiteral
impl UnwindSafe for SchemaLiteral
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