Skip to main content

Model

Derive Macro Model 

Source
#[derive(Model)]
{
    // Attributes available to this derive:
    #[norm]
    #[check]
    #[constraint]
    #[reply]
    #[pactum]
    #[wire]
}
Expand description

Derive Normalize, Validate, and DescribeModel from #[norm] / #[check] / #[constraint]. Derive Normalize, Validate, and DescribeModel from #[norm] / #[check] / #[constraint].