Records is a Rust library which adds an attribute designed for simple data classes ("records").
The record
attribute takes a standard named struct and
pub
#[records::record]
pub struct Person {
name: String,
}
pub fn main() {
let person = Person::new(String::from("World"));
println!("Hello, {}!", person.name);
}