pub struct ProofPolicy {
pub component_tiers: Vec<ComponentProofTier>,
pub default_tier: ProofTier,
pub allow_tier_escalation: bool,
}Expand description
Proof policy containing per-component tier requirements.
Fields§
§component_tiers: Vec<ComponentProofTier>Per-component proof tier requirements.
default_tier: ProofTierDefault tier for components not explicitly listed.
allow_tier_escalation: boolWhether to allow tier escalation at runtime.
Implementations§
Source§impl ProofPolicy
impl ProofPolicy
Trait Implementations§
Source§impl Clone for ProofPolicy
impl Clone for ProofPolicy
Source§fn clone(&self) -> ProofPolicy
fn clone(&self) -> ProofPolicy
Returns a duplicate of the value. Read more
1.0.0 · 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 ProofPolicy
impl Debug for ProofPolicy
Source§impl Default for ProofPolicy
impl Default for ProofPolicy
Source§fn default() -> ProofPolicy
fn default() -> ProofPolicy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProofPolicy
impl RefUnwindSafe for ProofPolicy
impl Send for ProofPolicy
impl Sync for ProofPolicy
impl Unpin for ProofPolicy
impl UnsafeUnpin for ProofPolicy
impl UnwindSafe for ProofPolicy
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