From dfe92a1f61d1d56246d1680442042deffa0ea76c Mon Sep 17 00:00:00 2001 From: alpaylan Date: Wed, 14 Apr 2021 01:49:24 +0300 Subject: start testing schema --- src/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { /// - `tha`: Transaction Hash, String (custom field) /// - `iat`: Issued At, Unix Time, epoch /// - `exp`: Expiration Time, epoch -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize, PartialEq)] pub struct Claims { pub tha: String, pub iat: usize, -- cgit v1.2.3-70-g09d2