Skip to main content

BusinessEnum

Derive Macro BusinessEnum 

Source
#[derive(BusinessEnum)]
{
    // Attributes available to this derive:
    #[option]
}
Expand description

Declares an enum with no data as the options of a field: #[option(caption = "...", code = "...")] on a variant. The first variant is what a new record starts with.