macro_rules! model {
    ($table:ident { $($columns:tt $(< $foreign_type:ident >)?),* }) => { ... };
}
Expand description

Declare a model using a struct-like syntax. The macro generates a struct whose fields are named the way you declare them, but are SchemaField.