diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-04-28 21:23:10 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-04-28 21:23:10 +0200 |
commit | ed056a56353554a4ad1766ab2487f08039e7854f (patch) | |
tree | c6234d2cb610dc72677c756d8738bcef794fcc6c | |
parent | 542defd29c7d153a4268bba8a81319af0bb787c3 (diff) |
Make Timestamp Clone
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/types/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/util.rs b/src/types/util.rs index a31bed6..0f95e8c 100644 --- a/src/types/util.rs +++ b/src/types/util.rs @@ -18,7 +18,7 @@ impl From<usize> for Version { /// A Timestamp which can be parsed into a NaiveDateTime object /// Format: 2014-11-28T21:45:59.324310806+09:00 /// (RFC3999) -#[derive(Serialize, Deserialize, Debug)] +#[derive(Serialize, Deserialize, Debug, Clone)] pub struct Timestamp(NaiveDateTime); impl From<NaiveDateTime> for Timestamp { |