pub enum StringOrNumberOrBoolOrNull {
String(String),
Number(f64),
Bool(bool),
Null,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StringOrNumberOrBoolOrNull
impl Clone for StringOrNumberOrBoolOrNull
Source§fn clone(&self) -> StringOrNumberOrBoolOrNull
fn clone(&self) -> StringOrNumberOrBoolOrNull
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 StringOrNumberOrBoolOrNull
impl Debug for StringOrNumberOrBoolOrNull
Source§impl From<StringOrNumberOrBoolOrNull> for JsonValue
impl From<StringOrNumberOrBoolOrNull> for JsonValue
Source§fn from(value: StringOrNumberOrBoolOrNull) -> Self
fn from(value: StringOrNumberOrBoolOrNull) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for StringOrNumberOrBoolOrNull
Auto Trait Implementations§
impl Freeze for StringOrNumberOrBoolOrNull
impl RefUnwindSafe for StringOrNumberOrBoolOrNull
impl Send for StringOrNumberOrBoolOrNull
impl Sync for StringOrNumberOrBoolOrNull
impl Unpin for StringOrNumberOrBoolOrNull
impl UnsafeUnpin for StringOrNumberOrBoolOrNull
impl UnwindSafe for StringOrNumberOrBoolOrNull
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