Macro drogue_client::dialect[][src]

macro_rules! dialect {
    ($dialect:ty [ $section:expr => $key:literal ]) => { ... };
}

Implements the Dialect trait for a structure.

use drogue_client::{dialect, Dialect, Section};

pub struct FooSpec {
}

dialect!(FooSpec[Section::Spec => "foo"]);