Trait valico::json_dsl::validators::Validator
source · pub trait Validator {
// Required method
fn validate(&self, item: &Value, _: &str) -> ValidatorResult;
}
pub trait Validator {
// Required method
fn validate(&self, item: &Value, _: &str) -> ValidatorResult;
}