Derive Macro KeyAttributes

Source
#[derive(KeyAttributes)]
{
    // Attributes available to this derive:
    #[primary_key]
    #[secondary_key]
}
Expand description

Macro which link native_model to the Native DB. See DatabaseBuilder.define for more information.