aboutsummaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
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,