Macro relay_common::impl_str_de

source ยท
macro_rules! impl_str_de {
    ($type:ty, $expectation:expr) => { ... };
}
Expand description

Helper macro to implement string based deserialization.

If a type implements FromStr then this automatically implements a deserializer for that type that dispatches appropriately.