pub struct ActiveSessionRecord {
pub id: SessionId,
pub subject: SubjectId,
pub expires_at: u64,
}Expand description
An active session record returned by validation.
Fields§
§id: SessionIdOpaque session record identifier (not a bearer credential).
subject: SubjectIdThe subject this session authenticates.
expires_at: u64Expiry as Unix seconds (UTC).
Trait Implementations§
Source§impl Clone for ActiveSessionRecord
impl Clone for ActiveSessionRecord
Source§fn clone(&self) -> ActiveSessionRecord
fn clone(&self) -> ActiveSessionRecord
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 moreAuto Trait Implementations§
impl Freeze for ActiveSessionRecord
impl RefUnwindSafe for ActiveSessionRecord
impl Send for ActiveSessionRecord
impl Sync for ActiveSessionRecord
impl Unpin for ActiveSessionRecord
impl UnsafeUnpin for ActiveSessionRecord
impl UnwindSafe for ActiveSessionRecord
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