I'm reviewing a PR for a derive macro which can handle both structs and enums.
The code uses the name "Container" to mean "either a struct or enum". To me that name feels a bit awry because I think of container to be synonymous with "collection" (e.g.
Maybe I'm just awkward here. Serde seems to use "Container" for this case: https://serde.rs/container-attrs.html
Does anyone have any other terms they like to use to refer to structs and enums?