Skip to main content

Deserialize

Derive Macro Deserialize 

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

Derives annotated::Deserialize, and serde’s Deserialize through it. Reading the struct then collects every missing field and broken rule in it.