Struct dropbox_sdk::team::MembersRemoveArg [−][src]
#[non_exhaustive]pub struct MembersRemoveArg { pub user: UserSelectorArg, pub wipe_data: bool, pub transfer_dest_id: Option<UserSelectorArg>, pub transfer_admin_id: Option<UserSelectorArg>, pub keep_account: bool, pub retain_team_shares: bool, }
dbx_team only.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.user: UserSelectorArgIdentity of user to remove/suspend/have their files moved.
wipe_data: boolIf provided, controls if the user’s data will be deleted on their linked devices.
transfer_dest_id: Option<UserSelectorArg>If provided, files from the deleted member account will be transferred to this user.
transfer_admin_id: Option<UserSelectorArg>If provided, errors during the transfer process will be sent via email to this user. If the transfer_dest_id argument was provided, then this argument must be provided as well.
keep_account: boolDowngrade the member to a Basic account. The user will retain the email address associated
with their Dropbox account and data in their account that is not restricted to team
members. In order to keep the account the argument wipe_data should be set to false.
If provided, allows removed users to keep access to Dropbox folders (not Dropbox Paper
folders) already explicitly shared with them (not via a group) when they are downgraded to a
Basic account. Users will not retain access to folders that do not allow external sharing.
In order to keep the sharing relationships, the arguments wipe_data should be set to
false and keep_account should be set to 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 MembersRemoveArgimpl Send for MembersRemoveArgimpl Sync for MembersRemoveArgimpl Unpin for MembersRemoveArgimpl UnwindSafe for MembersRemoveArgBlanket Implementations
Mutably borrows from an owned value. Read more