Struct valico::json_dsl::ObjectCoercer
[−]
[src]
pub struct ObjectCoercer;
Trait Implementations
impl Copy for ObjectCoercer
[src]
impl Clone for ObjectCoercer
[src]
fn clone(&self) -> ObjectCoercer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Coercer for ObjectCoercer
[src]
fn get_primitive_type(&self) -> PrimitiveType
fn coerce(
&self,
val: &mut Value,
path: &str
) -> Result<Option<Value>, ValicoErrors>
&self,
val: &mut Value,
path: &str
) -> Result<Option<Value>, ValicoErrors>