Trait influxdb2_structmap::ToMap [−][src]
pub trait ToMap: Default { fn to_genericmap(structure: Self) -> GenericMap; }
Required methods
fn to_genericmap(structure: Self) -> GenericMap
fn to_genericmap(structure: Self) -> GenericMap
Generates a GenericMap
where value types are all encapsulated under a sum type.
Constraints: currently only supports primitive types for genericized values.