Hacker News new | ask | show | jobs
by willtim 1870 days ago
Unfortunately Rust is currently lacking structural records/structs and enums. I think they removed them early on in the design. So you'd have to name the all the types. I hope they do add them back one day.