Expand description

De/Serialization for Rust’s builtin and std types

Modules

Makes a distinction between a missing, unset, or existing value

Ensure no duplicate keys exist in a map.

Ensure that the first key is taken, if duplicate keys exist

Ensure no duplicate values exist in a set.

Ensure that the last value is taken, if duplicate values exist

Serialize inner value if Some(T). If None, serialize the unit struct ().

Functions

Deserialize any value, ignore it, and return the default value for the type being deserialized.