#[non_exhaustive]pub enum Login_method {
StoredCredential(StoredCredential),
Password(Password),
FacebookAccessToken(FacebookAccessToken),
PhoneNumber(PhoneNumber),
OneTimeToken(OneTimeToken),
ParentChildCredential(ParentChildCredential),
AppleSignInCredential(AppleSignInCredential),
SamsungSignInCredential(SamsungSignInCredential),
GoogleSignInCredential(GoogleSignInCredential),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StoredCredential(StoredCredential)
Password(Password)
FacebookAccessToken(FacebookAccessToken)
PhoneNumber(PhoneNumber)
OneTimeToken(OneTimeToken)
ParentChildCredential(ParentChildCredential)
AppleSignInCredential(AppleSignInCredential)
SamsungSignInCredential(SamsungSignInCredential)
GoogleSignInCredential(GoogleSignInCredential)
Trait Implementations§
Source§impl Clone for Login_method
impl Clone for Login_method
Source§fn clone(&self) -> Login_method
fn clone(&self) -> Login_method
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 Login_method
impl Debug for Login_method
Source§impl OneofFull for Login_method
impl OneofFull for Login_method
Source§fn descriptor() -> OneofDescriptor
fn descriptor() -> OneofDescriptor
Descriptor object for this oneof.
Source§impl PartialEq for Login_method
impl PartialEq for Login_method
impl Oneof for Login_method
impl StructuralPartialEq for Login_method
Auto Trait Implementations§
impl !Freeze for Login_method
impl RefUnwindSafe for Login_method
impl Send for Login_method
impl Sync for Login_method
impl Unpin for Login_method
impl UnwindSafe for Login_method
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