Enum rtdlib::types::ResetPasswordResult
source · [−]pub enum ResetPasswordResult {
ResetPassword(ResetPassword),
Declined(ResetPasswordResultDeclined),
Ok(ResetPasswordResultOk),
Pending(ResetPasswordResultPending),
// some variants omitted
}
Expand description
Represents result of 2-step verification password reset
Variants
ResetPassword(ResetPassword)
Removes 2-step verification password without previous password and access to recovery email address. The password can’t be reset immediately and the request needs to be repeated after the specified time
Declined(ResetPasswordResultDeclined)
The password reset request was declined
Ok(ResetPasswordResultOk)
The password was reset
Pending(ResetPasswordResultPending)
The password reset request is pending
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<ResetPasswordResult, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ResetPasswordResult, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ResetPasswordResult
impl Send for ResetPasswordResult
impl Sync for ResetPasswordResult
impl Unpin for ResetPasswordResult
impl UnwindSafe for ResetPasswordResult
Blanket Implementations
Mutably borrows from an owned value. Read more