macro_rules! serde_string_impl {
($name:ty, $expecting:literal) => { ... };
}
Available on crate feature
serde
only.Expand description
Implements serde::Serialize
and Deserialize
by way of Display
and FromStr
respectively.
$name
is required to implement core::fmt::Display
and core::str::FromStr
.