pub struct PolicyCoverageEntry {
pub effect: PolicyEffect,
pub subject: PolicySubjectKind,
pub coverage: CoverageLevel,
pub mechanism: Option<String>,
pub caveat: Option<String>,
pub source: Option<String>,
}Expand description
How one harness enforces one kind of rule.
Fields§
§effect: PolicyEffect§subject: PolicySubjectKind§coverage: CoverageLevel§mechanism: Option<String>What the rule compiles to in the harness, when it compiles at all.
caveat: Option<String>Why coverage is partial or unsupported.
source: Option<String>Where the claim can be checked.
Trait Implementations§
Source§impl Clone for PolicyCoverageEntry
impl Clone for PolicyCoverageEntry
Source§impl Debug for PolicyCoverageEntry
impl Debug for PolicyCoverageEntry
impl Eq for PolicyCoverageEntry
Source§impl PartialEq for PolicyCoverageEntry
impl PartialEq for PolicyCoverageEntry
Source§impl Serialize for PolicyCoverageEntry
impl Serialize for PolicyCoverageEntry
impl StructuralPartialEq for PolicyCoverageEntry
Auto Trait Implementations§
impl Forget for PolicyCoverageEntry
impl Freeze for PolicyCoverageEntry
impl Move for PolicyCoverageEntry
impl RefUnwindSafe for PolicyCoverageEntry
impl Send for PolicyCoverageEntrywhere
RawVecInner: Send,
impl Sync for PolicyCoverageEntrywhere
RawVecInner: Sync,
impl Unpin for PolicyCoverageEntry
impl UnsafeUnpin for PolicyCoverageEntry
impl UnwindSafe for PolicyCoverageEntrywhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.