pub struct AuthSession {
pub id: String,
pub user_agent: String,
pub created_at: i64,
pub last_seen_at: i64,
pub last_step_up_at: Option<i64>,
pub expires_at: i64,
}Expand description
One signed-in session, as Settings lists them (kernel spec §3.2).
Fields§
§id: String§user_agent: String§created_at: i64§last_seen_at: i64§last_step_up_at: Option<i64>§expires_at: i64Trait Implementations§
Source§impl Clone for AuthSession
impl Clone for AuthSession
Source§impl Debug for AuthSession
impl Debug for AuthSession
impl Eq for AuthSession
Source§impl PartialEq for AuthSession
impl PartialEq 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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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