Function deserialize_hex_timestamp

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

Custom deserializer function for hex timestamps to convert hex seconds to UnixNanos.

ยงErrors

Returns an error if parsing the hex string to a timestamp fails.