[][src]Module rmp_serde::config

Change MessagePack behavior with configuration wrappers.

Structs

DefaultConfig

The default serializer configuration.

StructMapConfig

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

StructTupleConfig

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

VariantIntegerConfig

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

VariantStringConfig

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

Traits

SerializerConfig

Represents configuration that dicatates what the serializer does.