Expand description
Types that can be used to serialize and deserialize types inside databases.
Structs§
- I8
- Encodable version of
i8
. - I16
- Encodable version of
i16
. - I32
- Encodable version of
i32
. - I64
- Encodable version of
i64
. - I128
- Encodable version of
i128
. - Lazy
- Owns bytes that can be decoded on demand.
- Lazy
Decode - Lazily decodes the data bytes.
- Serde
Bincode - Describes a type that is
Serialize
/Deserialize
and usesbincode
to do so. - Serde
Json - Describes a type that is
Serialize
/Deserialize
and usesserde_json
to do so. - U8
- Encodable version of
u8
. - U16
- Encodable version of
u16
. - U32
- Encodable version of
u32
. - U64
- Encodable version of
u64
. - U128
- Encodable version of
u128
.
Enums§
- Bytes
- Describes a byte slice
[u8]
that is totally borrowed and doesn’t depend on any memory alignment. - Decode
Ignore - A convenient struct made to ignore the type when decoding it.
- Str
- Describes a
str
. - Unit
- Describes the unit
()
type.