pub trait ToHashMap {
// Required methods
fn to_map(&self) -> HashMap<String, FieldValue>;
fn from_map(
map: HashMap<String, FieldValue>,
) -> Result<Self, StructMapError>
where Self: Sized;
}
pub trait ToHashMap {
// Required methods
fn to_map(&self) -> HashMap<String, FieldValue>;
fn from_map(
map: HashMap<String, FieldValue>,
) -> Result<Self, StructMapError>
where Self: Sized;
}