chrono::serde

Function invalid_ts

Source
pub(crate) fn invalid_ts<E, T>(value: T) -> E
where E: Error, T: Display,
Expand description

Create a custom de::Error with SerdeError::InvalidTimestamp.