Closed str4d closed 2 months ago
The AsRef implementation exposes the chrono::DateTime, so we need a different API to expose the canonical serialized form. It can be accessed via serde::Serialize but that forces a copy which may be unnecessary in some situations.
AsRef
chrono::DateTime
serde::Serialize
The
AsRef
implementation exposes thechrono::DateTime
, so we need a different API to expose the canonical serialized form. It can be accessed viaserde::Serialize
but that forces a copy which may be unnecessary in some situations.