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
Auto Trait Implementations§
impl Forget for ActiveSessionRecord
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