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
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 |