pub struct SessionView {
pub caller: Principal,
pub issuer: Principal,
pub subject: Principal,
pub expires_at_ns: u64,
}Expand description
SessionView
A local session receipt; receiving or constructing it grants no authority.
Fields§
§caller: PrincipalHost-authenticated browser principal bound to the session.
issuer: PrincipalIssuer qualifying the subject.
subject: PrincipalIssuer-qualified account subject.
expires_at_ns: u64Exclusive local lease deadline in nanoseconds.
Trait Implementations§
Source§impl Clone for SessionView
impl Clone for SessionView
Source§impl Debug for SessionView
impl Debug for SessionView
Source§impl<'de> Deserialize<'de> for SessionView
impl<'de> Deserialize<'de> for SessionView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionView
Source§impl PartialEq for SessionView
impl PartialEq for SessionView
Source§impl Serialize for SessionView
impl Serialize for SessionView
impl StructuralPartialEq for SessionView
Auto Trait Implementations§
impl Forget for SessionView
impl Freeze for SessionView
impl Move for SessionView
impl RefUnwindSafe for SessionView
impl Send for SessionView
impl Sync for SessionView
impl Unpin for SessionView
impl UnsafeUnpin for SessionView
impl UnwindSafe for SessionView
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