Trait ToHashMap

Source
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;
}

Required Methods§

Implementors§