#[non_exhaustive]
pub enum ResendSecondaryEmailResult {
Success(EmailAddress),
NotPending(EmailAddress),
RateLimited(EmailAddress),
Other,
}dbx_team only.Expand description
Result of trying to resend verification email to a secondary email address. ‘success’ is the only value indicating that a verification email was successfully sent. 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)
A verification email was successfully sent to the secondary email address.
NotPending(EmailAddress)
This secondary email address is not pending for the user.
RateLimited(EmailAddress)
Too many emails are being sent to this email address. Please try again later.
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 ResendSecondaryEmailResult
impl Clone for ResendSecondaryEmailResult
sourcefn clone(&self) -> ResendSecondaryEmailResult
fn clone(&self) -> ResendSecondaryEmailResult
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 ResendSecondaryEmailResult
impl Debug for ResendSecondaryEmailResult
sourceimpl<'de> Deserialize<'de> for ResendSecondaryEmailResult
impl<'de> Deserialize<'de> for ResendSecondaryEmailResult
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<ResendSecondaryEmailResult> for ResendSecondaryEmailResult
impl PartialEq<ResendSecondaryEmailResult> for ResendSecondaryEmailResult
sourcefn eq(&self, other: &ResendSecondaryEmailResult) -> bool
fn eq(&self, other: &ResendSecondaryEmailResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ResendSecondaryEmailResult) -> bool
fn ne(&self, other: &ResendSecondaryEmailResult) -> bool
This method tests for !=.
impl Eq for ResendSecondaryEmailResult
impl StructuralEq for ResendSecondaryEmailResult
impl StructuralPartialEq for ResendSecondaryEmailResult
Auto Trait Implementations
impl RefUnwindSafe for ResendSecondaryEmailResult
impl Send for ResendSecondaryEmailResult
impl Sync for ResendSecondaryEmailResult
impl Unpin for ResendSecondaryEmailResult
impl UnwindSafe for ResendSecondaryEmailResult
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