Enum dropbox_sdk::team::UserResendResult
source · [−]#[non_exhaustive]
pub enum UserResendResult {
Success(UserResendEmailsResult),
InvalidUser(UserSelectorArg),
Other,
}dbx_team only.Expand description
Result of trying to resend verification emails to a user. ‘success’ is the only value indicating that a user was successfully retrieved for sending verification 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(UserResendEmailsResult)
Describes a user and the results for each attempt to resend verification emails.
InvalidUser(UserSelectorArg)
Specified user is not a valid target for resending verification 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 UserResendResult
impl Clone for UserResendResult
sourcefn clone(&self) -> UserResendResult
fn clone(&self) -> UserResendResult
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 UserResendResult
impl Debug for UserResendResult
sourceimpl<'de> Deserialize<'de> for UserResendResult
impl<'de> Deserialize<'de> for UserResendResult
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<UserResendResult> for UserResendResult
impl PartialEq<UserResendResult> for UserResendResult
sourcefn eq(&self, other: &UserResendResult) -> bool
fn eq(&self, other: &UserResendResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UserResendResult) -> bool
fn ne(&self, other: &UserResendResult) -> bool
This method tests for !=.
sourceimpl Serialize for UserResendResult
impl Serialize for UserResendResult
impl Eq for UserResendResult
impl StructuralEq for UserResendResult
impl StructuralPartialEq for UserResendResult
Auto Trait Implementations
impl RefUnwindSafe for UserResendResult
impl Send for UserResendResult
impl Sync for UserResendResult
impl Unpin for UserResendResult
impl UnwindSafe for UserResendResult
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