Crate influxdb2_derive

source ·
Expand description

Implements the functionality to enable conversion between a struct type a map container type in Rust through the use of a procedural macros.

Macros

Derive Macros

  • Implements the functionality for converting entries in a BTreeMap into attributes and values of a struct. It will consume a tokenized version of the initial struct declaration, and use code generation to implement the FromMap trait for instantiating the contents of the struct.