cloudevents::event

Trait 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§