pub struct User {Show 22 fields
pub id: Option<String>,
pub create_at: Option<i64>,
pub update_at: Option<i64>,
pub delete_at: Option<i64>,
pub username: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub nickname: Option<String>,
pub email: Option<String>,
pub email_verified: Option<bool>,
pub auth_service: Option<String>,
pub roles: Option<String>,
pub locale: Option<String>,
pub notify_props: Option<Box<UserNotifyProps>>,
pub props: Option<Value>,
pub last_password_update: Option<i32>,
pub last_picture_update: Option<i32>,
pub failed_attempts: Option<i32>,
pub mfa_active: Option<bool>,
pub timezone: Option<Box<Timezone>>,
pub terms_of_service_id: Option<String>,
pub terms_of_service_create_at: Option<i64>,
}
Fields§
§id: Option<String>
§create_at: Option<i64>
The time in milliseconds a user was created
update_at: Option<i64>
The time in milliseconds a user was last updated
delete_at: Option<i64>
The time in milliseconds a user was deleted
username: Option<String>
§first_name: Option<String>
§last_name: Option<String>
§nickname: Option<String>
§email: Option<String>
§email_verified: Option<bool>
§auth_service: Option<String>
§roles: Option<String>
§locale: Option<String>
§notify_props: Option<Box<UserNotifyProps>>
§props: Option<Value>
§last_password_update: Option<i32>
§last_picture_update: Option<i32>
§failed_attempts: Option<i32>
§mfa_active: Option<bool>
§timezone: Option<Box<Timezone>>
§terms_of_service_id: Option<String>
ID of accepted terms of service, if any. This field is not present if empty.
terms_of_service_create_at: Option<i64>
The time in milliseconds the user accepted the terms of service
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
Source§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
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more