#[non_exhaustive]
pub struct TeamMemberProfile {
Show 17 fields pub team_member_id: TeamMemberId, pub email: String, pub email_verified: bool, pub status: TeamMemberStatus, pub name: Name, pub membership_type: TeamMembershipType, pub groups: Vec<GroupId>, pub member_folder_id: NamespaceId, pub external_id: Option<String>, pub account_id: Option<AccountId>, pub secondary_emails: Option<Vec<SecondaryEmail>>, pub invited_on: Option<DropboxTimestamp>, pub joined_on: Option<DropboxTimestamp>, pub suspended_on: Option<DropboxTimestamp>, pub persistent_id: Option<String>, pub is_directory_restricted: Option<bool>, pub profile_photo_url: Option<String>,
}
Available on crate feature dbx_team only.
Expand description

Profile of a user as a member of a team.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
team_member_id: TeamMemberId

ID of user as a member of a team.

email: String

Email address of user.

email_verified: bool

Is true if the user’s email is verified to be owned by the user.

status: TeamMemberStatus

The user’s status as a member of a specific team.

name: Name

Representations for a person’s name.

membership_type: TeamMembershipType

The user’s membership type: full (normal team member) vs limited (does not use a license; no access to the team’s shared quota).

groups: Vec<GroupId>

List of group IDs of groups that the user belongs to.

member_folder_id: NamespaceId

The namespace id of the user’s root folder.

external_id: Option<String>

External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id.

account_id: Option<AccountId>

A user’s account identifier.

secondary_emails: Option<Vec<SecondaryEmail>>

Secondary emails of a user.

invited_on: Option<DropboxTimestamp>

The date and time the user was invited to the team (contains value only when the member’s status matches TeamMemberStatus::Invited).

joined_on: Option<DropboxTimestamp>

The date and time the user joined as a member of a specific team.

suspended_on: Option<DropboxTimestamp>

The date and time the user was suspended from the team (contains value only when the member’s status matches TeamMemberStatus::Suspended).

persistent_id: Option<String>

Persistent ID that a team can attach to the user. The persistent ID is unique ID to be used for SAML authentication.

is_directory_restricted: Option<bool>

Whether the user is a directory restricted user.

profile_photo_url: Option<String>

URL for the photo representing the user, if one is set.

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.