serde_impl_deser_fixed_bytes_ref

Macro serde_impl_deser_fixed_bytes_ref 

Source
macro_rules! serde_impl_deser_fixed_bytes_ref {
    ($t: ty, $size: expr) => { ... };
}
Expand description

Macro to provide serde::Deserialize implementations for types $t which can be constructed from byte arrays of fixed size. The resulting structure will support deserialization from human-readable formats using hex::FromHex, as well as binary formats.