pub struct RootIssuerPolicyView {
pub issuer_pid: Principal,
pub enabled: bool,
pub allowed_audiences: Vec<DelegationAudience>,
pub allowed_grants: Vec<DelegatedRoleGrant>,
pub max_cert_ttl_ns: u64,
pub refresh_after_ratio_bps: u16,
}Fields§
§issuer_pid: Principal§enabled: bool§allowed_audiences: Vec<DelegationAudience>§allowed_grants: Vec<DelegatedRoleGrant>§max_cert_ttl_ns: u64§refresh_after_ratio_bps: u16Trait Implementations§
Source§impl CandidType for RootIssuerPolicyView
impl CandidType for RootIssuerPolicyView
Source§impl Clone for RootIssuerPolicyView
impl Clone for RootIssuerPolicyView
Source§fn clone(&self) -> RootIssuerPolicyView
fn clone(&self) -> RootIssuerPolicyView
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 RootIssuerPolicyView
impl Debug for RootIssuerPolicyView
Source§impl<'de> Deserialize<'de> for RootIssuerPolicyView
impl<'de> Deserialize<'de> for RootIssuerPolicyView
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 RootIssuerPolicyView
Source§impl PartialEq for RootIssuerPolicyView
impl PartialEq for RootIssuerPolicyView
Source§fn eq(&self, other: &RootIssuerPolicyView) -> bool
fn eq(&self, other: &RootIssuerPolicyView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootIssuerPolicyView
impl Serialize for RootIssuerPolicyView
impl StructuralPartialEq for RootIssuerPolicyView
Auto Trait Implementations§
impl Freeze for RootIssuerPolicyView
impl RefUnwindSafe for RootIssuerPolicyView
impl Send for RootIssuerPolicyView
impl Sync for RootIssuerPolicyView
impl Unpin for RootIssuerPolicyView
impl UnsafeUnpin for RootIssuerPolicyView
impl UnwindSafe for RootIssuerPolicyView
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