summaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
authoralpaylan2021-04-14 01:49:24 +0300
committeralpaylan2021-04-14 01:49:24 +0300
commitdfe92a1f61d1d56246d1680442042deffa0ea76c (patch)
tree1d439a5612d8d7b63e4eed82ee8dd06d9971503a /src/schema.rs
parentdd039b4f21ee9cecbead24aedb51d0eb8b2e9495 (diff)
downloadgradecoin-dfe92a1f61d1d56246d1680442042deffa0ea76c.tar.gz
gradecoin-dfe92a1f61d1d56246d1680442042deffa0ea76c.tar.bz2
gradecoin-dfe92a1f61d1d56246d1680442042deffa0ea76c.zip
start testing schema
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 6719722..4d2b442 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -34,7 +34,7 @@ pub fn create_database() -> Db {
34/// - `tha`: Transaction Hash, String (custom field) 34/// - `tha`: Transaction Hash, String (custom field)
35/// - `iat`: Issued At, Unix Time, epoch 35/// - `iat`: Issued At, Unix Time, epoch
36/// - `exp`: Expiration Time, epoch 36/// - `exp`: Expiration Time, epoch
37#[derive(Debug, Serialize, Deserialize)] 37#[derive(Debug, Serialize, Deserialize, PartialEq)]
38pub struct Claims { 38pub struct Claims {
39 pub tha: String, 39 pub tha: String,
40 pub iat: usize, 40 pub iat: usize,