Expand description
proc-macro extensions for serde_with.
This crate should NEVER be used alone.
All macros MUST be used via the re-exports in the serde_with crate.
Attribute Macros§
- apply
- Apply attributes to all fields with matching types
- serde_
as - Convenience macro to use the
serde_assystem. - skip_
serializing_ none - Add
skip_serializing_ifannotations toOptionfields.
Derive Macros§
- Deserialize
From Str - Deserialize value by using its
FromStrimplementation - Serialize
Display - Serialize value by using it’s
Displayimplementation - Serialize
Display Alt - Serialize value by using its
Displayimplementation with the “alternate” (#) format flag