pub struct SessionResolution<T = SessionData> {
pub data: Option<T>,
pub needs_refresh: Option<bool>,
}Expand description
Session read result, including the deferred-refresh signal.
Fields§
§data: Option<T>Authenticated session, when a valid credential was supplied.
needs_refresh: Option<bool>Whether a deferred GET requires a subsequent POST refresh.
Auto Trait Implementations§
impl<T> Freeze for SessionResolution<T>
impl<T> RefUnwindSafe for SessionResolution<T>where
Option<T>: RefUnwindSafe,
impl<T> Send for SessionResolution<T>
impl<T> Sync for SessionResolution<T>
impl<T> Unpin for SessionResolution<T>
impl<T> UnsafeUnpin for SessionResolution<T>where
Option<T>: UnsafeUnpin,
impl<T> UnwindSafe for SessionResolution<T>where
Option<T>: UnwindSafe,
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