Enum nachricht::Value [−][src]
pub enum Value<'a> {
Null,
Bool(bool),
F32(f32),
F64(f64),
Bytes(Cow<'a, [u8]>),
Int(Sign, u64),
Str(Cow<'a, str>),
Symbol(Cow<'a, str>),
Container(Vec<Field<'a>>),
}
Expand description
The possible values according to the nachricht
data model.
Variants
Null
Bool(bool)
Tuple Fields
0: bool
F32(f32)
Tuple Fields
0: f32
F64(f64)
Tuple Fields
0: f64
Bytes(Cow<'a, [u8]>)
Int(Sign, u64)
Str(Cow<'a, str>)
Symbol(Cow<'a, str>)
Container(Vec<Field<'a>>)
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> UnwindSafe for Value<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more