Skip to main content

Validate

Derive Macro Validate 

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

garde’s validation, which every write path runs: payload.validate(), and on a refusal limits::report_text for the agent, verbatim