diff options
author | Yigit Sever | 2021-04-26 22:28:17 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-26 22:28:17 +0300 |
commit | 19f52705f18ad2a72e999e5038f30b479ca90035 (patch) | |
tree | a802f2a4e7ab87eb7605c364f714da2db6b86d11 /src/schema.rs | |
parent | ba9bebf02ac4b847e41178281d29d4b9fd3f574d (diff) | |
download | gradecoin-19f52705f18ad2a72e999e5038f30b479ca90035.tar.gz gradecoin-19f52705f18ad2a72e999e5038f30b479ca90035.tar.bz2 gradecoin-19f52705f18ad2a72e999e5038f30b479ca90035.zip |
Write guys to file
Diffstat (limited to 'src/schema.rs')
-rw-r--r-- | src/schema.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/schema.rs b/src/schema.rs index 66d6c9c..77e22c1 100644 --- a/src/schema.rs +++ b/src/schema.rs | |||
@@ -275,6 +275,8 @@ impl Default for Block { | |||
275 | /// * [`user_id`]: Can only be one of the repopulated | 275 | /// * [`user_id`]: Can only be one of the repopulated |
276 | /// * [`public_key`]: A PEM format public key "---- BEGIN" and all | 276 | /// * [`public_key`]: A PEM format public key "---- BEGIN" and all |
277 | /// * [`balance`]: User's current Gradecoin amount | 277 | /// * [`balance`]: User's current Gradecoin amount |
278 | /// | ||
279 | /// This should ideally include the fingerprint as well? | ||
278 | #[derive(Serialize, Deserialize, Debug, PartialEq)] | 280 | #[derive(Serialize, Deserialize, Debug, PartialEq)] |
279 | pub struct User { | 281 | pub struct User { |
280 | pub user_id: MetuId, | 282 | pub user_id: MetuId, |