pub enum ResendCodeReason {
UserRequest,
VerificationFailed(ResendCodeReasonVerificationFailed),
}Variants§
UserRequest
The user requested to resend the code
VerificationFailed(ResendCodeReasonVerificationFailed)
The code is re-sent, because device verification has failed
Trait Implementations§
Source§impl Clone for ResendCodeReason
impl Clone for ResendCodeReason
Source§fn clone(&self) -> ResendCodeReason
fn clone(&self) -> ResendCodeReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResendCodeReason
impl Debug for ResendCodeReason
Source§impl<'de> Deserialize<'de> for ResendCodeReason
impl<'de> Deserialize<'de> for ResendCodeReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ResendCodeReason
impl PartialEq for ResendCodeReason
Source§impl Serialize for ResendCodeReason
impl Serialize for ResendCodeReason
impl StructuralPartialEq for ResendCodeReason
Auto Trait Implementations§
impl Freeze for ResendCodeReason
impl RefUnwindSafe for ResendCodeReason
impl Send for ResendCodeReason
impl Sync for ResendCodeReason
impl Unpin for ResendCodeReason
impl UnsafeUnpin for ResendCodeReason
impl UnwindSafe for ResendCodeReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more