Trait axum_valid::HasValidate
source · pub trait HasValidate {
type Validate;
// Required method
fn get_validate(&self) -> &Self::Validate;
}Expand description
Trait for types that can supply a reference that can be validated.
Extractor types T that implement this trait can be used with Valid, Garde or Validated.
Required Associated Types§
Required Methods§
sourcefn get_validate(&self) -> &Self::Validate
fn get_validate(&self) -> &Self::Validate
Get the inner value