Add querying unnamed enums to structs