pub enum Value {
Bool(bool),
Usize(usize),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
Isize(isize),
I8(i8),
I16(i16),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
Char(char),
String(String),
Unit,
UnitStruct(&'static str),
Option(Option<Box<Value>>),
Newtype(Box<Value>),
Seq(Vec<Value>),
Map(BTreeMap<Value, Value>),
Bytes(Vec<u8>),
}
Variants
Bool | | |
Usize | | |
U8 | | |
U16 | | |
U32 | | |
U64 | | |
Isize | | |
I8 | | |
I16 | | |
I32 | | |
I64 | | |
F32 | | |
F64 | | |
Char | | |
String | | |
Unit | | |
UnitStruct | | |
Option | | |
Newtype | | |
Seq | | |
Map | | |
Bytes | | |
Methods
Trait Implementations
fn eq(&self, rhs: &Self) -> bool
fn ne(&self, other: &Rhs) -> bool
1.0.0
fn lt(&self, other: &Rhs) -> bool
1.0.0
fn le(&self, other: &Rhs) -> bool
1.0.0
fn gt(&self, other: &Rhs) -> bool
1.0.0
fn ge(&self, other: &Rhs) -> bool
1.0.0
Derived Implementations