diff --git a/src/user/mod.rs b/src/user/mod.rs index 0179e7e..5de18e2 100644 --- a/src/user/mod.rs +++ b/src/user/mod.rs @@ -2,17 +2,16 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct User { - pub id: uuid::Uuid, - pub phone_number: String, - pub username: String, - pub password: String, - // Firstname is a pointer - pub firstname: String, - // Lastname is a pointer - pub lastname: String, + pub id: uuid::Uuid, + pub phone_number: String, + pub username: String, + pub password: String, + // Firstname is a pointer + pub firstname: String, + // Lastname is a pointer + pub lastname: String, #[serde(with = "time::serde::rfc3339::option")] - pub created: Option, + pub created: Option, #[serde(with = "time::serde::rfc3339::option")] - pub last_login: Option, + pub last_login: Option, } -