Enum dropbox_sdk::team::MembersSuspendError [−][src]
#[non_exhaustive]
pub enum MembersSuspendError {
UserNotFound,
UserNotInTeam,
SuspendInactiveUser,
SuspendLastAdmin,
TeamLicenseLimit,
Other,
}This is supported on crate feature
dbx_team only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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.
The user is not active, so it cannot be suspended.
The user is the last admin of the team, so it cannot be suspended.
Team is full. The organization has no available licenses.
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 MembersSuspendErrorimpl Send for MembersSuspendErrorimpl Sync for MembersSuspendErrorimpl Unpin for MembersSuspendErrorimpl UnwindSafe for MembersSuspendErrorBlanket Implementations
Mutably borrows from an owned value. Read more