structs: Migrate from namedtuple to dataclass
This lets us do some typing for the attributes, and specify the default values in a much more user-friendly way. This can be done now since we’re on Python 3.7!
This lets us do some typing for the attributes, and specify the default values in a much more user-friendly way. This can be done now since we’re on Python 3.7!