Crate structurray

Source
Expand description

§Psuedo-Array Generation

This crate allows for the generation of structs with an arbitrary, programmer-provided number (less than u32::MAX) of identical fields with different names. Generally speaking, it is also useful to use another crate, structinator, on large structs generated with this crate to allow your struct to be automatically constructed from an Iterator.

Psuedo-Array structs like this are ideal for reducing data spent on identifiers in online databases like Google Firebase.

To learn more about what this crate does, look at the documentation for this crates only public attribute, faux_array.

Attribute Macros§

faux_array
Converts your struct to a psuedo-array