pub enum ValueKind {
}Variants§
Uint(u64)
Nint(u64)
-1 - n (CBOR major type 1).
Float
A float, remembering its source width (16, 32 or 64 bits).
Bool(bool)
Null
Undefined
Simple(u8)
A CBOR simple value (0..=255).
Bytes
Fields
Text(String)
Array(Vec<Value>)
Map(Vec<(Value, Value)>)
Tag(u64, Box<Value>)
Ext
A MessagePack extension: its signed type and raw data.
Trait Implementations§
impl StructuralPartialEq for ValueKind
Auto Trait Implementations§
impl Forget for ValueKind
impl Freeze for ValueKind
impl Move for ValueKind
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnsafeUnpin for ValueKindwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Node is !null: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<(Value, Value)>: UnsafeUnpin,
*const Value is !null: UnsafeUnpin,
impl UnwindSafe for ValueKind
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