pub struct ApplicationSessionPolicyView {
pub fleet: FleetKey,
pub role: CanisterRole,
pub authority_generation: u64,
pub allowed_scopes: Vec<String>,
pub default_session_ttl_secs: u64,
pub maximum_session_ttl_secs: u64,
pub proof_lifetime_ceiling_ns: u64,
pub verifier: ApplicationSessionVerifierPolicyView,
}Expand description
Protected configuration and current runtime binding for local authorization.
Fields§
§fleet: FleetKey§role: CanisterRole§allowed_scopes: Vec<String>§default_session_ttl_secs: u64§maximum_session_ttl_secs: u64§proof_lifetime_ceiling_ns: u64§verifier: ApplicationSessionVerifierPolicyViewTrait Implementations§
Source§impl Clone for ApplicationSessionPolicyView
impl Clone for ApplicationSessionPolicyView
Source§fn clone(&self) -> ApplicationSessionPolicyView
fn clone(&self) -> ApplicationSessionPolicyView
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 ApplicationSessionPolicyView
impl Debug for ApplicationSessionPolicyView
Source§impl<'de> Deserialize<'de> for ApplicationSessionPolicyView
impl<'de> Deserialize<'de> for ApplicationSessionPolicyView
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 ApplicationSessionPolicyView
impl StructuralPartialEq for ApplicationSessionPolicyView
Auto Trait Implementations§
impl Freeze for ApplicationSessionPolicyView
impl RefUnwindSafe for ApplicationSessionPolicyView
impl Send for ApplicationSessionPolicyView
impl Sync for ApplicationSessionPolicyView
impl Unpin for ApplicationSessionPolicyView
impl UnsafeUnpin for ApplicationSessionPolicyView
impl UnwindSafe for ApplicationSessionPolicyView
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