pub enum EmailAddressAuthentication {
Code(EmailAddressAuthenticationCode),
AppleId(EmailAddressAuthenticationAppleId),
GoogleId(EmailAddressAuthenticationGoogleId),
}
Variants§
Code(EmailAddressAuthenticationCode)
An authentication code delivered to a user’s email address
AppleId(EmailAddressAuthenticationAppleId)
An authentication token received through Apple ID
GoogleId(EmailAddressAuthenticationGoogleId)
An authentication token received through Google ID
Trait Implementations§
Source§impl Clone for EmailAddressAuthentication
impl Clone for EmailAddressAuthentication
Source§fn clone(&self) -> EmailAddressAuthentication
fn clone(&self) -> EmailAddressAuthentication
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 EmailAddressAuthentication
impl Debug for EmailAddressAuthentication
Source§impl<'de> Deserialize<'de> for EmailAddressAuthentication
impl<'de> Deserialize<'de> for EmailAddressAuthentication
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
impl StructuralPartialEq for EmailAddressAuthentication
Auto Trait Implementations§
impl Freeze for EmailAddressAuthentication
impl RefUnwindSafe for EmailAddressAuthentication
impl Send for EmailAddressAuthentication
impl Sync for EmailAddressAuthentication
impl Unpin for EmailAddressAuthentication
impl UnwindSafe for EmailAddressAuthentication
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