pub struct AuthSession {
pub id: SessionId,
pub scope: SessionScope,
pub cookies: CookieJar,
}Expand description
Authenticated session with scoped cookies.
Fields§
§id: SessionIdSession identifier.
scope: SessionScopeScope for this session.
Session cookies.
Implementations§
Source§impl AuthSession
impl AuthSession
Trait Implementations§
Source§impl Clone for AuthSession
impl Clone for AuthSession
Source§fn clone(&self) -> AuthSession
fn clone(&self) -> AuthSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthSession
impl Debug for AuthSession
Source§impl PartialEq for AuthSession
impl PartialEq for AuthSession
Source§fn eq(&self, other: &AuthSession) -> bool
fn eq(&self, other: &AuthSession) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthSession
impl StructuralPartialEq for AuthSession
Auto Trait Implementations§
impl Freeze for AuthSession
impl RefUnwindSafe for AuthSession
impl Send for AuthSession
impl Sync for AuthSession
impl Unpin for AuthSession
impl UnsafeUnpin for AuthSession
impl UnwindSafe for AuthSession
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