Enum cbor::value::Value [−] [src]

pub enum Value {
    Array(Vec<Value>),
    Bool(bool),
    Break,
    Bytes(Bytes),
    F32(f32),
    F64(f64),
    I8(i8),
    I16(i16),
    I32(i32),
    I64(i64),
    Int(Int),
    Map(BTreeMap<Key, Value>),
    Null,
    Simple(Simple),
    Tagged(Tag, Box<Value>),
    Text(Text),
    U8(u8),
    U16(u16),
    U32(u32),
    U64(u64),
    Undefined,
}

The generic CBOR representation.

Variants

Array
Bool
Break
Bytes
F32
F64
I8
I16
I32
I64
Int
Map
Null
Simple
Tagged
Text
U8
U16
U32
U64
Undefined

Trait Implementations

Derived Implementations

impl PartialOrd for Value

fn partial_cmp(&self, __arg_0: &Value) -> Option<Ordering>

fn lt(&self, __arg_0: &Value) -> bool

fn le(&self, __arg_0: &Value) -> bool

fn gt(&self, __arg_0: &Value) -> bool

fn ge(&self, __arg_0: &Value) -> bool

impl PartialEq for Value

fn eq(&self, __arg_0: &Value) -> bool

fn ne(&self, __arg_0: &Value) -> bool

impl Debug for Value

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Value

fn clone(&self) -> Value

fn clone_from(&mut self, source: &Self)