Trait timespan::Parsable
[−]
[src]
pub trait Parsable: FromStr<Err = ParseError> { fn parse_from_str(_: &str, _: &str) -> ParseResult<Self>
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) -> ParseResult<Self> where
Self: Sized,
Self: Sized,
This is a wrapper method to the parse_from_str
method from chrono
.
Implementors
impl Parsable for DateTime<Local>
impl Parsable for DateTime<Utc>
impl Parsable for DateTime<FixedOffset>
impl Parsable for NaiveDate
impl Parsable for NaiveDateTime
impl Parsable for NaiveTime