Trait struct_map::Converter
source · [−]pub trait Converter: Sized {
fn to_field_value(&self) -> FieldValue;
fn to_primitive(fv: FieldValue) -> Result<Self, StructMapError>;
}
pub trait Converter: Sized {
fn to_field_value(&self) -> FieldValue;
fn to_primitive(fv: FieldValue) -> Result<Self, StructMapError>;
}