Object Oriented Pattern In Rust