Struct dropbox_sdk::users::BasicAccount [−][src]
#[non_exhaustive]pub struct BasicAccount {
pub account_id: AccountId,
pub name: Name,
pub email: String,
pub email_verified: bool,
pub disabled: bool,
pub is_teammate: bool,
pub profile_photo_url: Option<String>,
pub team_member_id: Option<String>,
}dbx_users only.Expand description
Basic information about any 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.
is_teammate: boolWhether this user is a teammate of the current user. If this account is the current user’s
account, then this will be true.
profile_photo_url: Option<String>URL for the photo representing the user, if one is set.
team_member_id: Option<String>The user’s unique team member id. This field will only be present if the user is part of a
team and is_teammate is true.
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 BasicAccount
impl Send for BasicAccount
impl Sync for BasicAccount
impl Unpin for BasicAccount
impl UnwindSafe for BasicAccount
Blanket Implementations
Mutably borrows from an owned value. Read more
