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