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
pub trait TryIntoTime {
// Required method
fn into_time(self) -> Result<DateTime<Utc>, ParseError>;
}
Trait to define conversion to DateTime