Macro drogue_client::dialect
source · macro_rules! dialect {
($dialect:ty [ $section:expr => $key:literal ]) => { ... };
}
Expand description
Implements the Dialect
trait for a structure.
use drogue_client::{dialect, Section};
pub struct FooSpec {
}
dialect!(FooSpec[Section::Spec => "foo"]);