pub enum AuthRequestFactor {
Auto {
device: Option<String>,
type: Option<String>,
display_username: Option<String>,
push_info: Option<String>,
},
Push {
device: String,
type: Option<String>,
display_username: Option<String>,
push_info: Option<String>,
},
Passcode {
passcode: String,
},
Phone {
device: String,
},
Sms {
device: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AuthRequestFactor
impl Clone for AuthRequestFactor
Source§fn clone(&self) -> AuthRequestFactor
fn clone(&self) -> AuthRequestFactor
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 moreAuto Trait Implementations§
impl Freeze for AuthRequestFactor
impl RefUnwindSafe for AuthRequestFactor
impl Send for AuthRequestFactor
impl Sync for AuthRequestFactor
impl Unpin for AuthRequestFactor
impl UnwindSafe for AuthRequestFactor
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