[−][src]Trait please_pm::StringRep
A simple trait for allowing the use of representing something as a string in an easy and extendible way.
Required methods
fn str_rep(&self) -> &'static str
Basic &str
representation of the generic implamented trait.
fn string_rep(&self) -> String
Customised representation addressing the individual part of the implamented trait. If there is none, it is allowed to fall back to StringRep::str_rep.