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: Stringcan_update_display_name: boolcompany: Stringcountry: Stringdisplay_name: Stringemail: Stringemail_verified: boolfailed_login_attempts: i64headless: boolid: Stringlast_display_name_change: Stringlast_login: Stringlast_name: Stringminor_expected: boolminor_status: Stringminor_verified: boolname: Stringnumber_of_display_name_changes: i64preferred_language: Stringtfa_enabled: boolTrait Implementations
sourceimpl Clone for AccountData
impl Clone for AccountData
sourcefn clone(&self) -> AccountData
fn clone(&self) -> AccountData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AccountData
impl Debug for AccountData
sourceimpl Default for AccountData
impl Default for AccountData
sourcefn default() -> AccountData
fn default() -> AccountData
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AccountData
impl<'de> Deserialize<'de> for AccountData
sourcefn 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
sourceimpl PartialEq<AccountData> for AccountData
impl PartialEq<AccountData> for AccountData
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &AccountData) -> bool
fn ne(&self, other: &AccountData) -> bool
This method tests for !=.
sourceimpl Serialize for AccountData
impl Serialize for AccountData
impl StructuralPartialEq for AccountData
Auto Trait Implementations
impl RefUnwindSafe for AccountData
impl Send for AccountData
impl Sync for AccountData
impl Unpin for AccountData
impl UnwindSafe for AccountData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more