Crate duration_serde

source ·
Expand description

Based on https://github.com/jean-airoldie/humantime-serde which is made available under the terms of the Apache 2.0 License. This implementation allows for deserializing from integer and floating point values; they are assumed to represent seconds.

Structs

  • A wrapper type which implements Serialize and Deserialize for Duration

Functions