pub trait ToStr { // Required method fn to_str(&self) -> String; }
Trait for casting: Defines how to convert when cast to a string.