Skip to main content

Crate annotated_derive

Crate annotated_derive 

Source
Expand description

The derive macros of annotated, which re-exports and documents them.

Derive Macros§

Deserialize
Derives annotated::Deserialize, and serde’s Deserialize through it. Reading the struct then collects every missing field and broken rule in it.
Validate
Derives annotated::Validate from the #[validate(...)] rules on a struct’s fields.