pub type ValidifyRejection<E> = ValidationRejection<ValidationErrors, E>;Expand description
ValidifyRejection is returned when the Validated / Modified / Validified / ValidifiedByRef extractor fails.
Aliased Type§
pub enum ValidifyRejection<E> {
Valid(ValidationErrors),
Inner(E),
}Variants§
Valid(ValidationErrors)
Valid variant captures errors related to the validation logic.
Inner(E)
Inner variant represents potential errors that might occur within the inner extractor.
Trait Implementations§
Source§impl<E> From<ValidationErrors> for ValidifyRejection<E>
impl<E> From<ValidationErrors> for ValidifyRejection<E>
Source§fn from(value: ValidationErrors) -> Self
fn from(value: ValidationErrors) -> Self
Converts to this type from the input type.