Module rmp_serde::config[][src]

Expand description

Change MessagePack behavior with configuration wrappers.

Structs

Config wrapper that overrides Serializer::is_human_readable and Deserializer::is_human_readable to return false.

The default serializer/deserializer configuration.

Config wrapper that overrides Serializer::is_human_readable and Deserializer::is_human_readable to return true.

Config wrapper, that overrides struct serialization by packing as a map with field names.

Config wrapper that overrides struct serlization by packing as a tuple without field names.

Config wrapper that overrides enum variant serialization by packing enum names as their integer indices.

Config wrapper, that overrides enum serialization by serializing enum variant names as strings.

Traits

Represents configuration that dicatates what the serializer does.