Struct valico::json_dsl::BooleanCoercer
[−]
[src]
pub struct BooleanCoercer;
Trait Implementations
impl Copy for BooleanCoercer
[src]
impl Clone for BooleanCoercer
[src]
fn clone(&self) -> BooleanCoercer
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 BooleanCoercer
[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>