Thanks for all the replies! The parametric wrapper is a really neat idea! I ended up going with the macro implementation.
Is there a way to add the docstring in the macro implementation as well? Everything I’ve tried (using @doc) as well doesn’t seem to work and I’m not able to find other examples of people using a docstring on a struct definition inside a macro.