pub enum LoginKind {
Credentials(Credentials),
AccessToken(String),
RefreshToken(String),
}
Expand description
Login type. The variant chosen dictates which login process is called.
Variants§
Trait Implementations§
impl Eq for LoginKind
impl StructuralPartialEq for LoginKind
Auto Trait Implementations§
impl Freeze for LoginKind
impl RefUnwindSafe for LoginKind
impl Send for LoginKind
impl Sync for LoginKind
impl Unpin for LoginKind
impl UnwindSafe for LoginKind
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