pub enum Value {
Str(Arc<String>),
I64(i64),
F64(f64),
Bool(bool),
Null,
Array(Arc<Vec<Value>>),
}Variants§
Str(Arc<String>)
The string value.
I64(i64)
The integer value.
F64(f64)
The float value.
Bool(bool)
The boolean value.
Null
The null value.
Array(Arc<Vec<Value>>)
The array value.
Implementations§
Trait Implementations§
Source§impl PartialOrd for Value
impl PartialOrd for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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