pub struct ApplicationSessionView {
pub authenticated_subject: Principal,
pub issuer: Principal,
pub scopes: Vec<String>,
pub established_at_ns: u64,
pub expires_at_ns: u64,
pub authority_generation: u64,
}Expand description
Non-secret caller-self projection of one retained application session.
Fields§
§authenticated_subject: Principal§issuer: Principal§scopes: Vec<String>§established_at_ns: u64§expires_at_ns: u64Trait Implementations§
Source§impl CandidType for ApplicationSessionView
impl CandidType for ApplicationSessionView
Source§impl Clone for ApplicationSessionView
impl Clone for ApplicationSessionView
Source§fn clone(&self) -> ApplicationSessionView
fn clone(&self) -> ApplicationSessionView
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 moreSource§impl Debug for ApplicationSessionView
impl Debug for ApplicationSessionView
Source§impl<'de> Deserialize<'de> for ApplicationSessionView
impl<'de> Deserialize<'de> for ApplicationSessionView
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 ApplicationSessionView
Source§impl PartialEq for ApplicationSessionView
impl PartialEq for ApplicationSessionView
Source§impl Serialize for ApplicationSessionView
impl Serialize for ApplicationSessionView
impl StructuralPartialEq for ApplicationSessionView
Auto Trait Implementations§
impl Freeze for ApplicationSessionView
impl RefUnwindSafe for ApplicationSessionView
impl Send for ApplicationSessionView
impl Sync for ApplicationSessionView
impl Unpin for ApplicationSessionView
impl UnsafeUnpin for ApplicationSessionView
impl UnwindSafe for ApplicationSessionView
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