Module ruma_serde::duration::opt_ms[][src]

Expand description

De-/serialization functions for Option<std::time::Duration> objects represented as milliseconds.

Delegates to js_int::UInt to ensure integer size is within bounds.

Functions

Deserializes an Option.

Serialize an Option.