pub enum UserLoginType {
Google,
Email,
}Expand description
Login types
Variants§
Trait Implementations§
Source§impl Clone for UserLoginType
impl Clone for UserLoginType
Source§fn clone(&self) -> UserLoginType
fn clone(&self) -> UserLoginType
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 UserLoginType
impl Debug for UserLoginType
Source§impl<'de> Deserialize<'de> for UserLoginType
impl<'de> Deserialize<'de> for UserLoginType
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 Display for UserLoginType
impl Display for UserLoginType
Source§impl PartialEq for UserLoginType
impl PartialEq for UserLoginType
Source§impl Serialize for UserLoginType
impl Serialize for UserLoginType
impl Copy for UserLoginType
impl Eq for UserLoginType
impl StructuralPartialEq for UserLoginType
Auto Trait Implementations§
impl Freeze for UserLoginType
impl RefUnwindSafe for UserLoginType
impl Send for UserLoginType
impl Sync for UserLoginType
impl Unpin for UserLoginType
impl UnwindSafe for UserLoginType
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