Skip to main content

ValidateResult

Type Alias ValidateResult 

Source
pub type ValidateResult<T> = Result<T, ValidationError>;
Expand description

Result type for model_validate operations.

Aliased Type§

pub enum ValidateResult<T> {
    Ok(T),
    Err(ValidationError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ValidationError)

Contains the error value