Trait valico::json_dsl::Coercer [] [src]

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

Required Methods

Implementors