These links were useful in creating the macro https://towardsdatascience.com/nine-rules-for-creating-procedural-macros-in-rust-595aa476a7ff https://towardsdatascience.com/nine-rules-for-elegant-rust-library-apis-9b986a465247 https://deterministic.space/elegant-apis-in-rust.html https://rust-lang.github.io/api-guidelines/