Derive Macro Model

Source
#[derive(Model)]
Expand description

A macro to derive the Model trait for a struct. A struct must have a field named id, which is the primary key.