pub enum AuthInput {
Local {
data: HashMap<String, String>,
},
Google {
client_id: String,
client_secret: String,
callback_url: String,
scope: Vec<String>,
},
Pin {
pin_code: i32,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthInput
impl RefUnwindSafe for AuthInput
impl Send for AuthInput
impl Sync for AuthInput
impl Unpin for AuthInput
impl UnwindSafe for AuthInput
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