Module garde

Module garde 

Source
Expand description

Validation for the garde crate. Requires the garde feature flag

Garde is a popular validation library for Rust.

You will need to import the garde crate in your Cargo.toml.

[dependencies]
garde = { version = "0.0.0", features = ["derive"] }
actix-web-validation = { version = "0.0.0", features = ["garde"]}

For usage examples, see the documentation for Validated

Structs§

Validated
A validated extactor.
ValidatedFut
Future that extracts and validates actix requests using the Actix Web FromRequest trait

Traits§

GardeErrorHandlerExt
Extension trait to provide a convenience method for adding custom error handler

Type Aliases§

GardeErrHandler