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