pub struct LastLoginMethodContext {
pub request: Option<RequestHookContext>,
pub endpoint: Option<EndpointCall>,
pub endpoint_response: Option<LastLoginMethodEndpointResponse>,
pub body: Option<JsValue>,
pub route_path: String,
pub params: HashMap<String, String>,
pub response: Option<AuthResponse>,
pub new_session: Option<LastLoginMethodSession>,
}Expand description
Request context retained at the actual adapter or completed-response boundary.
Fields§
§request: Option<RequestHookContext>The actual HTTP request, absent for header-only server calls.
endpoint: Option<EndpointCall>The genuine logical call when invoked through the server SDK.
endpoint_response: Option<LastLoginMethodEndpointResponse>Actual completed logical output; HTTP callbacks use response instead.
body: Option<JsValue>Endpoint input at this callback phase; original HTTP bytes remain in request.body.
route_path: StringAdmitted endpoint template; original request.path remains the actual URI.
params: HashMap<String, String>§response: Option<AuthResponse>Present only at the completed-response boundary. Contains original returned bytes and accumulated cookies, including authentication failures.
new_session: Option<LastLoginMethodSession>Original trusted issuance snapshot; later user-row writes do not replace it.
Implementations§
Trait Implementations§
Source§impl Clone for LastLoginMethodContext
impl Clone for LastLoginMethodContext
Auto Trait Implementations§
impl Freeze for LastLoginMethodContext
impl RefUnwindSafe for LastLoginMethodContext
impl Send for LastLoginMethodContext
impl Sync for LastLoginMethodContext
impl Unpin for LastLoginMethodContext
impl UnsafeUnpin for LastLoginMethodContext
impl UnwindSafe for LastLoginMethodContext
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more