pub struct SignInMethods {
pub email: String,
pub has_password: bool,
pub providers: Option<Vec<SignInMethodsProvidersInner>>,
}Fields§
§email: String§has_password: bool§providers: Option<Vec<SignInMethodsProvidersInner>>Implementations§
Source§impl SignInMethods
impl SignInMethods
pub fn new(email: String, has_password: bool) -> SignInMethods
Trait Implementations§
Source§impl Clone for SignInMethods
impl Clone for SignInMethods
Source§fn clone(&self) -> SignInMethods
fn clone(&self) -> SignInMethods
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignInMethods
impl Debug for SignInMethods
Source§impl Default for SignInMethods
impl Default for SignInMethods
Source§fn default() -> SignInMethods
fn default() -> SignInMethods
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignInMethods
impl<'de> Deserialize<'de> for SignInMethods
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 SignInMethods
impl PartialEq for SignInMethods
Source§fn eq(&self, other: &SignInMethods) -> bool
fn eq(&self, other: &SignInMethods) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignInMethods
impl Serialize for SignInMethods
impl StructuralPartialEq for SignInMethods
Auto Trait Implementations§
impl Freeze for SignInMethods
impl RefUnwindSafe for SignInMethods
impl Send for SignInMethods
impl Sync for SignInMethods
impl Unpin for SignInMethods
impl UnsafeUnpin for SignInMethods
impl UnwindSafe for SignInMethods
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