pub trait HasId { // Required methods fn get_id(&self) -> Option<i32>; fn set_id(&mut self, id: i32); }