Macro drogue_client::translator
source · macro_rules! translator {
($name:ty) => { ... };
}
Expand description
Implements the Translator
trait for a structure.
This macro requires that the struct has a spec
and status
field of type Map<String, Value>
.