Struct dropbox_sdk::team::MembersSetProfileArg [−][src]
#[non_exhaustive]pub struct MembersSetProfileArg { pub user: UserSelectorArg, pub new_email: Option<EmailAddress>, pub new_external_id: Option<MemberExternalId>, pub new_given_name: Option<OptionalNamePart>, pub new_surname: Option<OptionalNamePart>, pub new_persistent_id: Option<String>, pub new_is_directory_restricted: Option<bool>, }
This is supported on crate feature
dbx_team only.Expand description
Exactly one of team_member_id, email, or external_id must be provided to identify the user account. At least one of new_email, new_external_id, new_given_name, and/or new_surname must be provided.
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.user: UserSelectorArgIdentity of user whose profile will be set.
new_email: Option<EmailAddress>New email for member.
new_external_id: Option<MemberExternalId>New external ID for member.
new_given_name: Option<OptionalNamePart>New given name for member.
new_surname: Option<OptionalNamePart>New surname for member.
new_persistent_id: Option<String>New persistent ID. This field only available to teams using persistent ID SAML configuration.
new_is_directory_restricted: Option<bool>New value for whether the user is a directory restricted user.
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 MembersSetProfileArgimpl Send for MembersSetProfileArgimpl Sync for MembersSetProfileArgimpl Unpin for MembersSetProfileArgimpl UnwindSafe for MembersSetProfileArgBlanket Implementations
Mutably borrows from an owned value. Read more