pub struct User {
pub user_id: Uuid,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub user_email: String,
pub last_logged_in_at: Option<i64>,
pub created_at: Option<i64>,
pub email_verified: Option<bool>,
pub status: Option<UserStatus>,
pub roles: Option<Vec<AccessRoles>>,
pub user_account_status: Option<UserAccountStatus>,
pub accepted_latest_terms_and_conditions: Option<bool>,
}
Fields
user_id: Uuid
User Id
first_name: Option<String>
First Name
last_name: Option<String>
Last Name
user_email: String
User Email
last_logged_in_at: Option<i64>
Last login time of user.
created_at: Option<i64>
Creation time of user.
email_verified: Option<bool>
Whether this user’s email has been verified.
status: Option<UserStatus>
roles: Option<Vec<AccessRoles>>
user_account_status: Option<UserAccountStatus>
accepted_latest_terms_and_conditions: Option<bool>
Whether this user has accepted latest terms and conditions or not
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more