Struct kanidmd_lib::value::Session
source · [−]pub struct Session {
pub label: String,
pub expiry: Option<OffsetDateTime>,
pub issued_at: OffsetDateTime,
pub issued_by: IdentityId,
pub scope: AccessScope,
}
Fields
label: String
expiry: Option<OffsetDateTime>
issued_at: OffsetDateTime
issued_by: IdentityId
scope: AccessScope
Trait Implementations
impl Eq for Session
impl StructuralEq for Session
impl StructuralPartialEq for Session
Auto Trait Implementations
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more