RestController

Derive Macro RestController 

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

Create a REST controller.

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