[][src]Trait timespan::Parsable

pub trait Parsable: FromStr<Err = ParseError> {
    fn parse_from_str(_: &str, _: &str) -> Result<Self, Error>
    where
        Self: Sized
; }

Spanable types that are parsable can be used to deserialize a given string to a span instance.

Required methods

fn parse_from_str(_: &str, _: &str) -> Result<Self, Error> where
    Self: Sized

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

Loading content...

Implementations on Foreign Types

impl Parsable for ChronoDateTime<Local>[src]

impl Parsable for ChronoDateTime<Utc>[src]

impl Parsable for ChronoDateTime<FixedOffset>[src]

impl Parsable for NaiveDate[src]

impl Parsable for NaiveDateTime[src]

impl Parsable for NaiveTime[src]

Loading content...

Implementors

Loading content...