#[non_exhaustive]
pub enum DeleteSecondaryEmailResult {
Success(EmailAddress),
NotFound(EmailAddress),
CannotRemovePrimary(EmailAddress),
Other,
}dbx_team only.Expand description
Result of trying to delete a secondary email address. ‘success’ is the only value indicating that a secondary email was successfully deleted. The other values explain the type of error that occurred, and include the email for which the error occurred.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Success(EmailAddress)
The secondary email was successfully deleted.
NotFound(EmailAddress)
The email address was not found for the user.
CannotRemovePrimary(EmailAddress)
The email address is the primary email address of the user, and cannot be removed.
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 DeleteSecondaryEmailResult
impl Clone for DeleteSecondaryEmailResult
sourcefn clone(&self) -> DeleteSecondaryEmailResult
fn clone(&self) -> DeleteSecondaryEmailResult
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 DeleteSecondaryEmailResult
impl Debug for DeleteSecondaryEmailResult
sourceimpl<'de> Deserialize<'de> for DeleteSecondaryEmailResult
impl<'de> Deserialize<'de> for DeleteSecondaryEmailResult
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<DeleteSecondaryEmailResult> for DeleteSecondaryEmailResult
impl PartialEq<DeleteSecondaryEmailResult> for DeleteSecondaryEmailResult
sourcefn eq(&self, other: &DeleteSecondaryEmailResult) -> bool
fn eq(&self, other: &DeleteSecondaryEmailResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DeleteSecondaryEmailResult) -> bool
fn ne(&self, other: &DeleteSecondaryEmailResult) -> bool
This method tests for !=.
impl Eq for DeleteSecondaryEmailResult
impl StructuralEq for DeleteSecondaryEmailResult
impl StructuralPartialEq for DeleteSecondaryEmailResult
Auto Trait Implementations
impl RefUnwindSafe for DeleteSecondaryEmailResult
impl Send for DeleteSecondaryEmailResult
impl Sync for DeleteSecondaryEmailResult
impl Unpin for DeleteSecondaryEmailResult
impl UnwindSafe for DeleteSecondaryEmailResult
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