Enum dropbox_sdk::team::MembersRemoveError [−][src]
#[non_exhaustive] pub enum MembersRemoveError {}Show 23 variants
UserNotFound, UserNotInTeam, RemovedAndTransferDestShouldDiffer, RemovedAndTransferAdminShouldDiffer, TransferDestUserNotFound, TransferDestUserNotInTeam, TransferAdminUserNotInTeam, TransferAdminUserNotFound, UnspecifiedTransferAdminId, TransferAdminIsNotAdmin, RecipientNotVerified, RemoveLastAdmin, CannotKeepAccountAndTransfer, CannotKeepAccountAndDeleteData, EmailAddressTooLongToBeDisabled, CannotKeepInvitedUserAccount, CannotRetainSharesWhenDataWiped, CannotRetainSharesWhenNoAccountKept, CannotRetainSharesWhenTeamExternalSharingOff, CannotKeepAccount, CannotKeepAccountUnderLegalHold, CannotKeepAccountRequiredToSignTos, Other,
dbx_team
only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
The user is not a member of the team.
Expected removed user and transfer_dest user to be different.
Expected removed user and transfer_admin user to be different.
No matching user found for the argument transfer_dest_id.
The provided transfer_dest_id does not exist on this team.
The provided transfer_admin_id does not exist on this team.
No matching user found for the argument transfer_admin_id.
The transfer_admin_id argument must be provided when file transfer is requested.
Specified transfer_admin user is not a team admin.
The recipient user’s email is not verified.
The user is the last admin of the team, so it cannot be removed from it.
Cannot keep account and transfer the data to another user at the same time.
Cannot keep account and delete the data at the same time. To keep the account the argument
wipe_data should be set to false
.
The email address of the user is too long to be disabled.
Cannot keep account of an invited user.
Cannot retain team shares when the user’s data is marked for deletion on their linked
devices. The argument wipe_data should be set to false
.
The user’s account must be kept in order to retain team shares. The argument keep_account
should be set to true
.
Externally sharing files, folders, and links must be enabled in team settings in order to retain team shares for the user.
Only a team admin, can convert this account to a Basic account.
This user content is currently being held. To convert this member’s account to a Basic account, you’ll first need to remove them from the hold.
To convert this member to a Basic account, they’ll first need to sign in to Dropbox and agree to the terms of service.
Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MembersRemoveError
impl Send for MembersRemoveError
impl Sync for MembersRemoveError
impl Unpin for MembersRemoveError
impl UnwindSafe for MembersRemoveError
Blanket Implementations
Mutably borrows from an owned value. Read more