From a3bc90d6755acbe3670dfcf23f35acdaf9b00ffc Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 10 Apr 2021 15:49:26 +0300 Subject: %(date +'%Y%m%d') --- src/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/schema.rs') 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 { /// A transaction between `source` and `target` that moves `amount` Note: /// https://serde.rs/container-attrs.html might be valueable to normalize the serialize/deserialize /// conventions as these will be hashed -#[derive(Serialize, Deserialize, Debug)] +#[derive(Serialize, Deserialize, Debug, Clone)] pub struct Transaction { pub source: String, pub target: String, -- cgit v1.2.3-70-g09d2