pub trait BaseObject { fn count(&self) -> usize; fn name(&self) -> String; fn symbol(&self) -> String; fn slug(&self) -> String { ... } }