Module tzdb::serde_as_2
source · Available on crate feature
serde-as-2
only.Expand description
Helper functions to be used with serde
and serde_with (v2.x.y)
Structs
Float
serde-as
(De)serialize a (Utc)DateTime as an f64 with millisecond resolution
Nanoseconds
serde-as
(De)serialize a (Utc)DateTime as a tuple with nanosecond resolution
Seconds
serde-as
(De)serialize only the seconds of a (Utc)DateTime as an i64