Backend is pretty much done

This commit is contained in:
Marko Korhonen 2020-04-10 18:42:47 +03:00
parent eebb8594de
commit c8a6acd07d
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
4 changed files with 43 additions and 7 deletions

View file

@ -15,6 +15,7 @@ struct Claims {
exp: usize,
}
#[derive(Deserialize)]
pub struct UserWithToken {
pub id: i32,
pub username: String,