pub struct AuthenticatedRead<S: AuthSchema> {
pub user: AuthenticatedUser<S>,
pub session: SessionView,
pub needs_refresh: Option<bool>,
}Expand description
Result of a cache-aware HTTP session read. A cached user is an output snapshot, while Stored retains the actual application model.
Fields§
§user: AuthenticatedUser<S>§session: SessionView§needs_refresh: Option<bool>Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for AuthenticatedRead<S>where
AuthenticatedUser<S>: Freeze,
impl<S> RefUnwindSafe for AuthenticatedRead<S>where
AuthenticatedUser<S>: RefUnwindSafe,
impl<S> Send for AuthenticatedRead<S>where
AuthenticatedUser<S>: Send,
impl<S> Sync for AuthenticatedRead<S>where
AuthenticatedUser<S>: Sync,
impl<S> Unpin for AuthenticatedRead<S>where
AuthenticatedUser<S>: Unpin,
impl<S> UnsafeUnpin for AuthenticatedRead<S>where
AuthenticatedUser<S>: UnsafeUnpin,
impl<S> UnwindSafe for AuthenticatedRead<S>where
AuthenticatedUser<S>: 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