Skip to main content

Model

Derive Macro Model 

Source
#[derive(Model)]
{
    // Attributes available to this derive:
    #[table]
    #[primary]
    #[unique]
    #[index]
    #[foreign]
    #[data_type]
    #[hypertable]
    #[compress]
}