parse_rfc3339_timestamp

Function parse_rfc3339_timestamp 

Source
pub fn parse_rfc3339_timestamp(timestamp: &str) -> Result<UnixNanos>
Expand description

Parses an RFC 3339 timestamp string into UnixNanos.

ยงErrors

Returns an error if the string is not a valid RFC 3339 datetime or if the timestamp cannot be represented in nanoseconds.