diff options
author | Yigit Sever | 2021-04-10 15:49:26 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-10 15:49:26 +0300 |
commit | a3bc90d6755acbe3670dfcf23f35acdaf9b00ffc (patch) | |
tree | 28b354bac254c1c92e8a13b8b2bf6f3d0dcde021 /src/schema.rs | |
parent | 38a928a47f94d9f456c9c53f5db4fcd19165e7ac (diff) | |
download | gradecoin-a3bc90d6755acbe3670dfcf23f35acdaf9b00ffc.tar.gz gradecoin-a3bc90d6755acbe3670dfcf23f35acdaf9b00ffc.tar.bz2 gradecoin-a3bc90d6755acbe3670dfcf23f35acdaf9b00ffc.zip |
%(date +'%Y%m%d')
Diffstat (limited to 'src/schema.rs')
-rw-r--r-- | src/schema.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schema.rs b/src/schema.rs index c4917ab..f680bbf 100644 --- a/src/schema.rs +++ b/src/schema.rs | |||
@@ -46,7 +46,7 @@ impl Db { | |||
46 | /// A transaction between `source` and `target` that moves `amount` Note: | 46 | /// A transaction between `source` and `target` that moves `amount` Note: |
47 | /// https://serde.rs/container-attrs.html might be valueable to normalize the serialize/deserialize | 47 | /// https://serde.rs/container-attrs.html might be valueable to normalize the serialize/deserialize |
48 | /// conventions as these will be hashed | 48 | /// conventions as these will be hashed |
49 | #[derive(Serialize, Deserialize, Debug)] | 49 | #[derive(Serialize, Deserialize, Debug, Clone)] |
50 | pub struct Transaction { | 50 | pub struct Transaction { |
51 | pub source: String, | 51 | pub source: String, |
52 | pub target: String, | 52 | pub target: String, |