Trait influxdb2_structmap::FromMap [−][src]
pub trait FromMap: Default { fn from_genericmap(map: GenericMap) -> Self; }
Required methods
fn from_genericmap(map: GenericMap) -> Self
fn from_genericmap(map: GenericMap) -> Self
Converts a GenericMap
back into a structure.
Constraints: assumes that value types conform to the original types of the struct.