Module serde_with::rust
source · 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
De/Serialize sequences using FromIterator and IntoIterator implementation for it and Display and FromStr implementation for each element
Ensure no duplicate values exist in a set.
Ensure that the first value is taken, if duplicate values exist
De/Serialize a
Option<String>
type while transforming the empty string to None
Serialize inner value if
Some(T)
. If None
, serialize the unit struct ()
.