Enum serde_dbor::Type [−][src]
#[repr(u8)]pub enum Type { Uint, Int, Misc, Variant, Seq, Bytes, Map, Reserved, Any, Char, }
All storage types, including ones that exist solely for debugging purposes
Variants
Uint
Represents a u8
, u16
, u32
, or u64
Int
Represents an i8
, i16
, i32
, or i64
Misc
Represents a bool
, ()
, None
, f32
, or f64
Variant
Represents a variant of an enum
Seq
Represents an array, tuple, or struct
Bytes
Represents a string or array of bytes
Map
Represents a map type
Reserved
Reserved for later use
Any
Used only in error messages, represents any type
Char
Used only in error messages, represents a char
Trait Implementations
impl Clone for Type
[src]
impl Clone for Type
fn clone(&self) -> Type
[src]
fn clone(&self) -> Type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Type
[src]
impl Copy for Type
impl PartialEq for Type
[src]
impl PartialEq for Type
fn eq(&self, other: &Type) -> bool
[src]
fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Type
[src]
impl Eq for Type
impl Debug for Type
[src]
impl Debug for Type