pub enum CborValue {
Null,
Bool(bool),
UInt(u64),
NInt(i64),
Bytes(Vec<u8>),
Text(String),
Array(Vec<CborValue>),
Map(Vec<(String, CborValue)>),
}Variants§
Null
Bool(bool)
UInt(u64)
NInt(i64)
Bytes(Vec<u8>)
Text(String)
Array(Vec<CborValue>)
Map(Vec<(String, CborValue)>)
Trait Implementations§
impl StructuralPartialEq for CborValue
Auto Trait Implementations§
impl Freeze for CborValue
impl RefUnwindSafe for CborValue
impl Send for CborValue
impl Sync for CborValue
impl Unpin for CborValue
impl UnsafeUnpin for CborValue
impl UnwindSafe for CborValue
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