pub enum SignInOutput {
SignedIn {
redirect: bool,
token: String,
url: Option<String>,
user: Map<String, Value>,
},
Challenge(Value),
}Variants§
Implementations§
Source§impl SignInOutput
impl SignInOutput
pub fn from_result<D: Adapter, A>( ctx: &Ctx<D, A>, result: SignInResult, callback_url: Option<String>, ) -> Self
Trait Implementations§
Source§impl Debug for SignInOutput
impl Debug for SignInOutput
Auto Trait Implementations§
impl Forget for SignInOutput
impl Freeze for SignInOutput
impl Move for SignInOutput
impl RefUnwindSafe for SignInOutput
impl Send for SignInOutput
impl Sync for SignInOutput
impl Unpin for SignInOutput
impl UnsafeUnpin for SignInOutput
impl UnwindSafe for SignInOutput
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