Function deserialize_rfc3339

Source
pub fn deserialize_rfc3339<'de, D>(
    deserializer: D,
) -> Result<OffsetDateTime, D::Error>
where D: Deserializer<'de>,
Expand description

helper to parse created_on and updated_on in the correct format (default time serde implementation seems to use a different format)

ยงErrors

This will return an error if the underlying string can not be deserialized or can not be parsed as an RFC3339 date and time