Module with

Source
Expand description

Customizations to use with Serde’s #[serde(with = …)] attribute.

Modules§

singleton_map
Serialize/deserialize an enum using a YAML map containing one entry in which the key identifies the variant name.
singleton_map_recursive
Apply singleton_map to all enums contained within the data structure.