aboutsummaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
authorYigit Sever2021-04-10 15:49:26 +0300
committerYigit Sever2021-04-10 15:49:26 +0300
commita3bc90d6755acbe3670dfcf23f35acdaf9b00ffc (patch)
tree28b354bac254c1c92e8a13b8b2bf6f3d0dcde021 /src/schema.rs
parent38a928a47f94d9f456c9c53f5db4fcd19165e7ac (diff)
downloadgradecoin-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.rs2
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)]
50pub struct Transaction { 50pub struct Transaction {
51 pub source: String, 51 pub source: String,
52 pub target: String, 52 pub target: String,