pub enum ValueType {
Null,
Bool,
I64,
I128,
U64,
U128,
F64,
String,
Array,
Object,
Extended(ExtendedValueType),
Custom(&'static str),
}
Expand description
Types of JSON values
Variants§
Null
null
Bool
a boolean
I64
a signed integer type
I128
a 128 bit signed integer
U64
a unsigned integer type
U128
a 128 bit unsigned integer
F64
a float type
String
a string type
Array
an array
Object
an object
Extended(ExtendedValueType)
Extended types that do not have a real representation in JSON
Custom(&'static str)
a custom type
Trait Implementations§
impl Copy for ValueType
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
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