Macro xylem::declare_schema [−][src]
macro_rules! declare_schema {
($(#[$meta : meta]) * $vis : vis $name : ident $(: $($traits : path), +) ?) => { ... };
}
Expand description
Declare a normal schema type.
Example
xylem::declare_schema!(MySchema);
#[derive(xylem::Xylem)]
#[xylem(schema = MySchema)]
struct Foo {}