Trait valico::json_schema::keywords::Keyword

source ·
pub trait Keyword: Sync + Any {
    // Required method
    fn compile(&self, _: &Value, _: &WalkContext<'_>) -> KeywordResult;

    // Provided method
    fn is_exclusive(&self) -> bool { ... }
}

Required Methods§

source

fn compile(&self, _: &Value, _: &WalkContext<'_>) -> KeywordResult

Provided Methods§

Trait Implementations§

source§

impl Debug for dyn Keyword + 'static

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§