Crate serde_with_macros

Source
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_as system.
skip_serializing_none
Add skip_serializing_if annotations to Option fields.

Derive Macros§

DeserializeFromStr
Deserialize value by using its FromStr implementation
SerializeDisplay
Serialize value by using it’s Display implementation