pub trait Validate<'yaml, 'schema: 'yaml> {
// Required method
fn validate(
&self,
ctx: &'schema Context<'schema>,
yaml: &'yaml Yaml,
) -> Result<(), ValidationError<'yaml>>;
}Expand description
Validation trait implemented by all types, as well as the Schema type