macro_rules! impl_serde_from_string_or_integer {
($t:ty) => { ... };
}
Expand description
Deserialize a type from either a string or integer in human-readable encodings.
This macro implements serde Serialize
and DeserializeOwned
traits with a friendly
deserialization mechanism that can handle strings and integers when using human-readable
formats. It works with any FromStringOrInteger
type.