pub enum EmailAddressResetState {
Available(EmailAddressResetStateAvailable),
Pending(EmailAddressResetStatePending),
}
Variants§
Available(EmailAddressResetStateAvailable)
Email address can be reset after the given period. Call resetAuthenticationEmailAddress to reset it and allow the user to authorize with a code sent to the user’s phone number
Pending(EmailAddressResetStatePending)
Email address reset has already been requested. Call resetAuthenticationEmailAddress to check whether immediate reset is possible
Trait Implementations§
Source§impl Clone for EmailAddressResetState
impl Clone for EmailAddressResetState
Source§fn clone(&self) -> EmailAddressResetState
fn clone(&self) -> EmailAddressResetState
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 EmailAddressResetState
impl Debug for EmailAddressResetState
Source§impl<'de> Deserialize<'de> for EmailAddressResetState
impl<'de> Deserialize<'de> for EmailAddressResetState
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 EmailAddressResetState
impl PartialEq for EmailAddressResetState
Source§impl Serialize for EmailAddressResetState
impl Serialize for EmailAddressResetState
impl StructuralPartialEq for EmailAddressResetState
Auto Trait Implementations§
impl Freeze for EmailAddressResetState
impl RefUnwindSafe for EmailAddressResetState
impl Send for EmailAddressResetState
impl Sync for EmailAddressResetState
impl Unpin for EmailAddressResetState
impl UnwindSafe for EmailAddressResetState
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