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

Floatserde-as
(De)serialize a (Utc)DateTime as an f64 with millisecond resolution
Nanosecondsserde-as
(De)serialize a (Utc)DateTime as a tuple with nanosecond resolution
Secondsserde-as
(De)serialize only the seconds of a (Utc)DateTime as an i64