pub struct AccountData {Show 20 fields
pub age_group: String,
pub can_update_display_name: bool,
pub company: String,
pub country: String,
pub display_name: String,
pub email: String,
pub email_verified: bool,
pub failed_login_attempts: i64,
pub headless: bool,
pub id: String,
pub last_display_name_change: String,
pub last_login: String,
pub last_name: String,
pub minor_expected: bool,
pub minor_status: String,
pub minor_verified: bool,
pub name: String,
pub number_of_display_name_changes: i64,
pub preferred_language: String,
pub tfa_enabled: bool,
}Expand description
Structure that holds all account data
Fields§
§age_group: String§can_update_display_name: bool§company: String§country: String§display_name: String§email: String§email_verified: bool§failed_login_attempts: i64§headless: bool§id: String§last_display_name_change: String§last_login: String§last_name: String§minor_expected: bool§minor_status: String§minor_verified: bool§name: String§number_of_display_name_changes: i64§preferred_language: String§tfa_enabled: boolTrait Implementations§
source§impl Clone for AccountData
impl Clone for AccountData
source§fn clone(&self) -> AccountData
fn clone(&self) -> AccountData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AccountData
impl Debug for AccountData
source§impl Default for AccountData
impl Default for AccountData
source§fn default() -> AccountData
fn default() -> AccountData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountData
impl<'de> Deserialize<'de> for AccountData
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
source§impl PartialEq for AccountData
impl PartialEq for AccountData
source§fn eq(&self, other: &AccountData) -> bool
fn eq(&self, other: &AccountData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AccountData
impl Serialize for AccountData
impl StructuralPartialEq for AccountData
Auto Trait Implementations§
impl Freeze for AccountData
impl RefUnwindSafe for AccountData
impl Send for AccountData
impl Sync for AccountData
impl Unpin for AccountData
impl UnwindSafe for AccountData
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