Macro matterdb::impl_serde_hex_for_binary_value [−][src]
macro_rules! impl_serde_hex_for_binary_value { ($name:ident) => { ... }; }
Hex conversions for the given BinaryValue
.
Implements hex::FromHex
and hex::ToHex
conversions for the given BinaryValue
and uses them in
the implementation of the following traits:
FromStr
, Display
, Serialize
, Deserialize
.
Pay attention that macro uses serde_str
under the hood.