Trait cloudevents::event::TryIntoTime

source ·
pub trait TryIntoTime {
    // Required method
    fn into_time(self) -> Result<DateTime<Utc>, ParseError>;
}
Expand description

Trait to define conversion to DateTime

Required Methods§

Implementations on Foreign Types§

source§

impl TryIntoTime for &str

source§

impl TryIntoTime for DateTime<Utc>

source§

impl TryIntoTime for String

Implementors§