Enum serde::de::Type  
                   
                       [−]
                   
               [src]
pub enum Type {
    Bool,
    Usize,
    U8,
    U16,
    U32,
    U64,
    Isize,
    I8,
    I16,
    I32,
    I64,
    F32,
    F64,
    Char,
    Str,
    String,
    Unit,
    Option,
    Seq,
    Map,
    UnitStruct,
    NewtypeStruct,
    TupleStruct,
    Struct,
    Tuple,
    Enum,
    StructVariant,
    TupleVariant,
    UnitVariant,
    Bytes,
}Type represents all the primitive types that can be deserialized. This is used by Error::kind_mismatch.
Variants
BoolRepresents a bool type.
UsizeRepresents a usize type.
U8Represents a u8 type.
U16Represents a u16 type.
U32Represents a u32 type.
U64Represents a u64 type.
IsizeRepresents a isize type.
I8Represents a i8 type.
I16Represents a i16 type.
I32Represents a i32 type.
I64Represents a i64 type.
F32Represents a f32 type.
F64Represents a f64 type.
CharRepresents a char type.
StrRepresents a &str type.
StringRepresents a String type.
UnitRepresents a () type.
OptionRepresents an Option<T> type.
SeqRepresents a sequence type.
MapRepresents a map type.
UnitStructRepresents a unit struct type.
NewtypeStructRepresents a newtype type.
TupleStructRepresents a tuple struct type.
StructRepresents a struct type.
TupleRepresents a tuple type.
EnumRepresents an enum type.
StructVariantRepresents a struct variant.
TupleVariantRepresents a tuple variant.
UnitVariantRepresents a unit variant.
BytesRepresents a &[u8] type.