Enum dmap::value::DmapValue
[−]
[src]
pub enum DmapValue<'a, 'k> { I8(i8), U8(u8), I16(i16), U16(u16), I32(i32), U32(u32), I64(i64), U64(u64), String(&'a str), Container(Vec<DmapItem<'a, 'k>>), Unknown(&'a [u8]), }
Variants
I8(i8)
U8(u8)
I16(i16)
U16(u16)
I32(i32)
U32(u32)
I64(i64)
U64(u64)
String(&'a str)
Container(Vec<DmapItem<'a, 'k>>)
Unknown(&'a [u8])
Trait Implementations
impl<'a, 'k> Debug for DmapValue<'a, 'k>
[src]
impl<'a, 'k> Clone for DmapValue<'a, 'k>
[src]
fn clone(&self) -> DmapValue<'a, 'k>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a, 'k> PartialEq for DmapValue<'a, 'k>
[src]
fn eq(&self, __arg_0: &DmapValue<'a, 'k>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DmapValue<'a, 'k>) -> bool
This method tests for !=
.
impl<'a, 'k> Eq for DmapValue<'a, 'k>
[src]
impl<'de> Deserialize<'de> for DmapValue<'de, 'de>
[src]
fn deserialize<D>(deserializer: D) -> Result<DmapValue<'de, 'de>, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more