aboutsummaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
authorYigit Sever2021-04-26 22:28:17 +0300
committerYigit Sever2021-04-26 22:28:17 +0300
commit19f52705f18ad2a72e999e5038f30b479ca90035 (patch)
treea802f2a4e7ab87eb7605c364f714da2db6b86d11 /src/schema.rs
parentba9bebf02ac4b847e41178281d29d4b9fd3f574d (diff)
downloadgradecoin-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.rs2
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)]
279pub struct User { 281pub struct User {
280 pub user_id: MetuId, 282 pub user_id: MetuId,