Trait timespan::Formatable [] [src]

pub trait Formatable: Display {
    fn format<'a>(&self, _: &'a str) -> DelayedFormat<StrftimeItems<'a>>;
}

Spanable types that are formatable can be used to serialize a given span to a string.

Required Methods

This is a wrapper method to the format method from chrono.

Implementations on Foreign Types

impl<T: TimeZone> Formatable for Date<T> where
    <T as TimeZone>::Offset: Display
[src]

[src]

impl<T: TimeZone> Formatable for ChronoDateTime<T> where
    <T as TimeZone>::Offset: Display
[src]

[src]

impl Formatable for NaiveDate
[src]

[src]

impl Formatable for NaiveDateTime
[src]

[src]

impl Formatable for NaiveTime
[src]

[src]

Implementors