Expand description
De/Serialization for Rust’s builtin and std types
Modules§
- double_
option - Makes a distinction between a missing, unset, or existing value
- maps_
duplicate_ key_ is_ error - Ensure no duplicate keys exist in a map.
- maps_
first_ key_ wins - Ensure that the first key is taken, if duplicate keys exist
- sets_
duplicate_ value_ is_ error - Ensure no duplicate values exist in a set.
- sets_
last_ value_ wins - Ensure that the last value is taken, if duplicate values exist
- unwrap_
or_ skip - Serialize inner value if
Some
(T)
. IfNone
, serialize the unit struct()
.
Functions§
- deserialize_
ignore_ any - Deserialize any value, ignore it, and return the default value for the type being deserialized.