Skip to main content

Validate

Derive Macro Validate 

Source
#[derive(Validate)]
{
    // Attributes available to this derive:
    #[validate]
    #[serde]
}
Expand description

Derives annotated::Validate from the #[validate(...)] rules on a struct’s fields.