pub trait Format<T> {
// Required method
fn format(&self, date: &T) -> String;
}Expand description
Provides a mechanism to translate a date or a time to a String
pub trait Format<T> {
// Required method
fn format(&self, date: &T) -> String;
}Provides a mechanism to translate a date or a time to a String