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

Represents a u8, u16, u32, or u64

Represents an i8, i16, i32, or i64

Represents a bool, (), None, f32, or f64

Represents a variant of an enum

Represents an array, tuple, or struct

Represents a string or array of bytes

Represents a map type

Reserved for later use

Used only in error messages, represents any type

Used only in error messages, represents a char

Trait Implementations

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Type
[src]

impl PartialEq for Type
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Type
[src]

impl Debug for Type
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Type

impl Sync for Type