Enum dropbox_sdk::team::LegalHoldsPolicyCreateError [−][src]
#[non_exhaustive]
pub enum LegalHoldsPolicyCreateError {
UnknownLegalHoldError,
InsufficientPermissions,
StartDateIsLaterThanEndDate,
EmptyMembersList,
InvalidMembers,
NumberOfUsersOnHoldIsGreaterThanHoldLimitation,
TransientError,
NameMustBeUnique,
TeamExceededLegalHoldQuota,
InvalidDate,
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.
There has been an unknown legal hold error.
You don’t have permissions to perform this action.
Start date must be earlier than end date.
The users list must have at least one user.
Some members in the members list are not valid to be placed under legal hold.
You cannot add more than 5 users in a legal hold.
Temporary infrastructure failure, please retry.
The name provided is already in use by another legal hold.
Team exceeded legal hold quota.
The provided date is invalid.
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 LegalHoldsPolicyCreateErrorimpl Send for LegalHoldsPolicyCreateErrorimpl Sync for LegalHoldsPolicyCreateErrorimpl Unpin for LegalHoldsPolicyCreateErrorimpl UnwindSafe for LegalHoldsPolicyCreateErrorBlanket Implementations
Mutably borrows from an owned value. Read more