Struct dropbox_sdk::users::FullAccount [−][src]
#[non_exhaustive]pub struct FullAccount {}Show 14 fields
pub account_id: AccountId, pub name: Name, pub email: String, pub email_verified: bool, pub disabled: bool, pub locale: String, pub referral_link: String, pub is_paired: bool, pub account_type: AccountType, pub root_info: RootInfo, pub profile_photo_url: Option<String>, pub country: Option<String>, pub team: Option<FullTeam>, pub team_member_id: Option<String>,
dbx_users only.Expand description
Detailed information about the current user’s account.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.account_id: AccountIdThe user’s unique Dropbox ID.
name: NameDetails of a user’s name.
email: StringThe user’s email address. Do not rely on this without checking the email_verified field.
Even then, it’s possible that the user has since lost access to their email.
email_verified: boolWhether the user has verified their email address.
disabled: boolWhether the user has been disabled.
locale: StringThe language that the user specified. Locale tags will be IETF language tags.
referral_link: StringThe user’s referral link.
is_paired: boolWhether the user has a personal and work account. If the current account is personal, then
team will always be None, but is_paired will indicate if a work account is linked.
account_type: AccountTypeWhat type of account this user has.
root_info: RootInfoThe root info for this account.
profile_photo_url: Option<String>URL for the photo representing the user, if one is set.
country: Option<String>The user’s two-letter country code, if available. Country codes are based on ISO 3166-1.
team: Option<FullTeam>If this account is a member of a team, information about that team.
team_member_id: Option<String>This account’s unique team member id. This field will only be present if team is present.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for FullAccountimpl Send for FullAccountimpl Sync for FullAccountimpl Unpin for FullAccountimpl UnwindSafe for FullAccountBlanket Implementations
Mutably borrows from an owned value. Read more