pub enum LoginOptions {
Email(String),
Phone(String),
}Variants§
Trait Implementations§
Source§impl Clone for LoginOptions
impl Clone for LoginOptions
Source§fn clone(&self) -> LoginOptions
fn clone(&self) -> LoginOptions
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 LoginOptions
impl Debug for LoginOptions
Source§impl<'de> Deserialize<'de> for LoginOptions
impl<'de> Deserialize<'de> for LoginOptions
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 LoginOptions
impl PartialEq for LoginOptions
Source§impl Serialize for LoginOptions
impl Serialize for LoginOptions
impl StructuralPartialEq for LoginOptions
Auto Trait Implementations§
impl Freeze for LoginOptions
impl RefUnwindSafe for LoginOptions
impl Send for LoginOptions
impl Sync for LoginOptions
impl Unpin for LoginOptions
impl UnwindSafe for LoginOptions
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