ModelController

Derive Macro ModelController 

Source
#[derive(ModelController)]
{
    // Attributes available to this derive:
    #[auth]
    #[middleware]
    #[skip_csrf]
}
Expand description

Create a Model controller.

This implements mappings between the Controller trait and the struct implementing the ModelController trait.