Trait valico::json_dsl::Coercer

source ·
pub trait Coercer: Send + Sync {
    // Required methods
    fn get_primitive_type(&self) -> PrimitiveType;
    fn coerce(
        &self,
        _: &mut Value,
        _: &str
    ) -> Result<Option<Value>, ValicoErrors>;
}

Required Methods§

Implementors§