pub enum MsgValue {
Nil,
Bool(bool),
Int(i64),
Float(f64),
Str(String),
Bin(Vec<u8>),
Array(Vec<MsgValue>),
Map(Vec<(MsgValue, MsgValue)>),
}Expand description
A MessagePack value.
Variants§
Nil
Bool(bool)
Int(i64)
Float(f64)
Str(String)
Bin(Vec<u8>)
Array(Vec<MsgValue>)
Map(Vec<(MsgValue, MsgValue)>)
Trait Implementations§
impl StructuralPartialEq for MsgValue
Auto Trait Implementations§
impl Freeze for MsgValue
impl RefUnwindSafe for MsgValue
impl Send for MsgValue
impl Sync for MsgValue
impl Unpin for MsgValue
impl UnsafeUnpin for MsgValue
impl UnwindSafe for MsgValue
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