pub struct User {Show 38 fields
pub preferred_languages: Option<Vec<String>>,
pub active: Option<bool>,
pub birth_date: Option<String>,
pub clean_speak_id: Option<Uuid>,
pub data: Option<HashMap<String, Value>>,
pub email: Option<String>,
pub expiry: Option<i64>,
pub first_name: Option<String>,
pub full_name: Option<String>,
pub image_url: Option<String>,
pub insert_instant: Option<i64>,
pub last_name: Option<String>,
pub last_update_instant: Option<i64>,
pub middle_name: Option<String>,
pub mobile_phone: Option<String>,
pub parent_email: Option<String>,
pub tenant_id: Option<Uuid>,
pub timezone: Option<String>,
pub two_factor: Option<Box<UserTwoFactorConfiguration>>,
pub memberships: Option<Vec<GroupMember>>,
pub registrations: Option<Vec<UserRegistration>>,
pub breached_password_last_checked_instant: Option<i64>,
pub breached_password_status: Option<BreachedPasswordStatus>,
pub connector_id: Option<Uuid>,
pub encryption_scheme: Option<String>,
pub factor: Option<i32>,
pub id: Option<Uuid>,
pub last_login_instant: Option<i64>,
pub password: Option<String>,
pub password_change_reason: Option<ChangePasswordReason>,
pub password_change_required: Option<bool>,
pub password_last_update_instant: Option<i64>,
pub salt: Option<String>,
pub unique_username: Option<String>,
pub username: Option<String>,
pub username_status: Option<ContentStatus>,
pub verified: Option<bool>,
pub verified_instant: Option<i64>,
}
Expand description
User : The global view of a User. This object contains all global information about the user including birthdate, registration information preferred languages, global attributes, etc.
Fields§
§preferred_languages: Option<Vec<String>>
§active: Option<bool>
§birth_date: Option<String>
A date without a time-zone in the ISO-8601 calendar system, such as 2007-12-03.
clean_speak_id: Option<Uuid>
§data: Option<HashMap<String, Value>>
§email: Option<String>
§expiry: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
first_name: Option<String>
§full_name: Option<String>
§image_url: Option<String>
§insert_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
last_name: Option<String>
§last_update_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
middle_name: Option<String>
§mobile_phone: Option<String>
§parent_email: Option<String>
§tenant_id: Option<Uuid>
§timezone: Option<String>
Timezone Identifier
two_factor: Option<Box<UserTwoFactorConfiguration>>
§memberships: Option<Vec<GroupMember>>
§registrations: Option<Vec<UserRegistration>>
§breached_password_last_checked_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
breached_password_status: Option<BreachedPasswordStatus>
§connector_id: Option<Uuid>
§encryption_scheme: Option<String>
§factor: Option<i32>
§id: Option<Uuid>
§last_login_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
password: Option<String>
§password_change_reason: Option<ChangePasswordReason>
§password_change_required: Option<bool>
§password_last_update_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
salt: Option<String>
§unique_username: Option<String>
§username: Option<String>
§username_status: Option<ContentStatus>
§verified: Option<bool>
§verified_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.