Remove its IntoIterator bound to allow to represent the query fields as a single struct or enum.
ruma-macros provides procedural macros for easily generating types for Ruma crates.