Module serde_with::rust 
source · Expand description
De/Serialization for Rust’s builtin and std types
Modules
- btreemap_as_tuple_listDeprecatedDEPRECATED De/Serialize aBTreeMapinto a list of tuples
- Deserialize from bytes or string
- Deserialize value and returnDefaulton error
- Deserialize default value if encounteringnull.
- Makes a distinction between a missing, unset, or existing value
- hashmap_as_tuple_listDeprecatedDEPRECATED De/Serialize aHashMapinto a list of tuples
- De/Serialize a Map into a list of tuples
- Ensure no duplicate keys exist in a map.
- Ensure that the first key is taken, if duplicate keys exist
- De/Serialize sequences usingFromIteratorandIntoIteratorimplementation for it andDisplayandFromStrimplementation for each element
- Ensure no duplicate values exist in a set.
- sets_first_value_winsDeprecatedDEPRECATED Ensure that the first value is taken, if duplicate values exist
- Ensure that the last value is taken, if duplicate values exist
- De/Serialize aOption<String>type while transforming the empty string toNone
- This serializes a list of tuples into a map and back
Structs
Functions
- Deserialize any value, ignore it, and return the default value for the type being deserialized.