Trait valico::json_schema::keywords::Keyword
source · pub trait Keyword: Send + Sync + Any {
// Required method
fn compile(&self, def: &Value, ctx: &WalkContext<'_>) -> KeywordResult;
// Provided methods
fn is_exclusive(&self, _version: SchemaVersion) -> bool { ... }
fn place_first(&self) -> bool { ... }
fn place_last(&self) -> bool { ... }
}