pub enum SignInResult {
SignedIn(Box<SessionView>),
Challenge(Value),
}Variants§
SignedIn(Box<SessionView>)
Challenge(Value)
A gate wants more (e.g. a TOTP code). Respond with this JSON; no session exists.
Trait Implementations§
Source§impl Clone for SignInResult
impl Clone for SignInResult
Auto Trait Implementations§
impl Forget for SignInResult
impl Freeze for SignInResult
impl Move for SignInResult
impl RefUnwindSafe for SignInResult
impl Send for SignInResult
impl Sync for SignInResult
impl Unpin for SignInResult
impl UnsafeUnpin for SignInResult
impl UnwindSafe for SignInResult
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