Enum dropbox_sdk::team::UserDeleteResult
source · [−]#[non_exhaustive]
pub enum UserDeleteResult {
Success(UserDeleteEmailsResult),
InvalidUser(UserSelectorArg),
Other,
}dbx_team only.Expand description
Result of trying to delete a user’s secondary emails. ‘success’ is the only value indicating that a user was successfully retrieved for deleting 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(UserDeleteEmailsResult)
Describes a user and the results for each attempt to delete a secondary email.
InvalidUser(UserSelectorArg)
Specified user is not a valid target for deleting secondary emails.
Other
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
sourceimpl Clone for UserDeleteResult
impl Clone for UserDeleteResult
sourcefn clone(&self) -> UserDeleteResult
fn clone(&self) -> UserDeleteResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UserDeleteResult
impl Debug for UserDeleteResult
sourceimpl<'de> Deserialize<'de> for UserDeleteResult
impl<'de> Deserialize<'de> for UserDeleteResult
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<UserDeleteResult> for UserDeleteResult
impl PartialEq<UserDeleteResult> for UserDeleteResult
sourcefn eq(&self, other: &UserDeleteResult) -> bool
fn eq(&self, other: &UserDeleteResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UserDeleteResult) -> bool
fn ne(&self, other: &UserDeleteResult) -> bool
This method tests for !=.
sourceimpl Serialize for UserDeleteResult
impl Serialize for UserDeleteResult
impl Eq for UserDeleteResult
impl StructuralEq for UserDeleteResult
impl StructuralPartialEq for UserDeleteResult
Auto Trait Implementations
impl RefUnwindSafe for UserDeleteResult
impl Send for UserDeleteResult
impl Sync for UserDeleteResult
impl Unpin for UserDeleteResult
impl UnwindSafe for UserDeleteResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more