pub enum DecodedValue {
Int(i64),
Float(f64),
Bool(bool),
Str(String),
Time(i64),
Binary(Vec<u8>),
Null,
List(Vec<DecodedValue>),
Object(Vec<(String, DecodedValue)>),
Raw(Vec<u8>),
}Variants§
Int(i64)
Float(f64)
Bool(bool)
Str(String)
Time(i64)
Binary(Vec<u8>)
Null
List(Vec<DecodedValue>)
Object(Vec<(String, DecodedValue)>)
Raw(Vec<u8>)
Trait Implementations§
Source§impl Clone for DecodedValue
impl Clone for DecodedValue
Source§fn clone(&self) -> DecodedValue
fn clone(&self) -> DecodedValue
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 DecodedValue
impl Debug for DecodedValue
Source§impl PartialEq for DecodedValue
impl PartialEq for DecodedValue
Source§fn eq(&self, other: &DecodedValue) -> bool
fn eq(&self, other: &DecodedValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecodedValue
Auto Trait Implementations§
impl Freeze for DecodedValue
impl RefUnwindSafe for DecodedValue
impl Send for DecodedValue
impl Sync for DecodedValue
impl Unpin for DecodedValue
impl UnsafeUnpin for DecodedValue
impl UnwindSafe for DecodedValue
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