Rust Coding Example Python Class Definition