Module tendermint::serializers::timestamp[][src]

Serialize/deserialize Timestamp type from and into string:

Structs

Rfc3339

Helper struct to serialize and deserialize Timestamp into an RFC3339-compatible string This is required because the serde with attribute is only available to fields of a struct but not the whole struct.

Functions

deserialize

Deserialize string into Timestamp

serialize

Serialize from Timestamp into string

to_rfc3339_nanos

Serialization helper for converting a DateTime<Utc> object to a string.