Records
Records is a Rust library which adds an attribute designed for simple data classes ("records").
What is a record?
The record attribute takes a standard named struct and
- Makes all it's fields
pub - Gives it a constructor
- Implements convesrsion to/from tuples
Example