Expand description
Change MessagePack behavior with configuration wrappers.
Structs§
- Binary
Config - Config wrapper that overrides
Serializer::is_human_readableandDeserializer::is_human_readableto returnfalse. - Default
Config - The default serializer/deserializer configuration.
- Human
Readable Config - Config wrapper that overrides
Serializer::is_human_readableandDeserializer::is_human_readableto 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]asbytesrather than a sequence of integers. Serde withoutserde_byteshas 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.