diff --git a/src/types.rs b/src/types.rs index 7b06b1d..98cfd40 100644 --- a/src/types.rs +++ b/src/types.rs @@ -15,3 +15,8 @@ pub struct User { pub password: String, pub email: String, } +pub struct JwtInfo { + pub name: String, + pub role: String, + pub exp: i64, +}