Serde: impl Serialize and Deserialize for std::time::Duration

Created on 21 May 2016  路  4Comments  路  Source: serde-rs/serde

enhancement

Most helpful comment

That not very friendly format when you use in configuration

All 4 comments

Do you have a particular format in mind for this?

I don't, but visiting the fields -- seconds and nanos -- seems like a reasonable option.

This is included in Serde 0.8.1.

That not very friendly format when you use in configuration

Was this page helpful?
0 / 5 - 0 ratings

Related issues

swfsql picture swfsql  路  3Comments

dtolnay picture dtolnay  路  4Comments

Boscop picture Boscop  路  4Comments

vityafx picture vityafx  路  3Comments

dtolnay picture dtolnay  路  3Comments