pub enum LoginMethod {
Password {
password: String,
},
Totp {
token: String,
},
}Variants§
Trait Implementations§
Source§impl ComposeSchema for LoginMethod
impl ComposeSchema for LoginMethod
Source§impl<'de> Deserialize<'de> for LoginMethod
impl<'de> Deserialize<'de> for LoginMethod
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 Serialize for LoginMethod
impl Serialize for LoginMethod
Auto Trait Implementations§
impl Freeze for LoginMethod
impl RefUnwindSafe for LoginMethod
impl Send for LoginMethod
impl Sync for LoginMethod
impl Unpin for LoginMethod
impl UnwindSafe for LoginMethod
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