valico::json_schema::keywords

Type Alias KeywordResult

Source
pub type KeywordResult = Result<Option<BoxedValidator>, SchemaError>;

Aliased Type§

enum KeywordResult {
    Ok(Option<Box<dyn Validator + Send + Sync>>),
    Err(SchemaError),
}

Variants§

§1.0.0

Ok(Option<Box<dyn Validator + Send + Sync>>)

Contains the success value

§1.0.0

Err(SchemaError)

Contains the error value