Expand description
Change MessagePack behavior with configuration wrappers.
Structs§
- Binary
Config - Config wrapper that overrides
Serializer::is_human_readable
andDeserializer::is_human_readable
to returnfalse
. - Default
Config - The default serializer/deserializer configuration.
- Human
Readable Config - Config wrapper that overrides
Serializer::is_human_readable
andDeserializer::is_human_readable
to returntrue
. - Struct
MapConfig - Config wrapper, that overrides struct serialization by packing as a map with field names.
- Struct
Tuple Config - Config wrapper that overrides struct serlization by packing as a tuple without field names.
Enums§
- Bytes
Mode - When to encode
[u8]
asbytes
rather than a sequence of integers. Serde withoutserde_bytes
has trouble usingbytes
, and this is hack to force it. It may break some data types.
Traits§
- Serializer
Config - Represents configuration that dicatates what the serializer does.