Enum dropbox_sdk::team::UserAddResult [−][src]
#[non_exhaustive]
pub enum UserAddResult {
Success(UserSecondaryEmailsResult),
InvalidUser(UserSelectorArg),
Unverified(UserSelectorArg),
PlaceholderUser(UserSelectorArg),
Other,
}dbx_team only.Expand description
Result of trying to add secondary emails to a user. ‘success’ is the only value indicating that a user was successfully retrieved for adding secondary emails. The other values explain the type of error that occurred, and include the user for which the error occurred.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Success(UserSecondaryEmailsResult)Describes a user and the results for each attempt to add a secondary email.
InvalidUser(UserSelectorArg)Specified user is not a valid target for adding secondary emails.
Unverified(UserSelectorArg)Secondary emails can only be added to verified users.
PlaceholderUser(UserSelectorArg)Secondary emails cannot be added to placeholder users.
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
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 UserAddResultimpl Send for UserAddResultimpl Sync for UserAddResultimpl Unpin for UserAddResultimpl UnwindSafe for UserAddResultBlanket Implementations
Mutably borrows from an owned value. Read more