The #[pyclass] macro can now take get_all and set_all to create getters and setters for every field.
#[pyclass]
get_all
set_all