Function redmine_api::api::deserialize_optional_rfc3339
source · [−]pub fn deserialize_optional_rfc3339<'de, D>(
deserializer: D
) -> Result<Option<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 it can not be parsed as an RFC3339 date and time