pub trait Format { type Item; // Required method fn format(&self, date: &Self::Item) -> String; }
Provides a mechanism to translate a date or a time to a String
String
Implementation-specific format of a date or time