pub struct PolicyCoverage {
pub entry: CoverageEntry,
pub complete: bool,
pub unreadable: Vec<String>,
pub rows: Vec<CoverageRow>,
pub digest: String,
}Expand description
What a prefix entry of [commands] allow_prefix or [sandbox] network_allow_prefix would newly allow: every distinct argv the
project’s journal recorded that it covers and the current policy does
not allow. A prefix is saved only as the confirmation of this preview,
and only when it is complete.
Fields§
§entry: CoverageEntryThe entry previewed.
complete: boolEvery run in the journal was read.
unreadable: Vec<String>What could not be read, and why (never “covers nothing”).
rows: Vec<CoverageRow>The argvs it would newly allow.
digest: StringSHA-256 over the entry, the rows and complete: what a save names.
Trait Implementations§
Source§impl Clone for PolicyCoverage
impl Clone for PolicyCoverage
Source§impl Debug for PolicyCoverage
impl Debug for PolicyCoverage
impl Eq for PolicyCoverage
Source§impl JsonSchema for PolicyCoverage
impl JsonSchema for PolicyCoverage
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PolicyCoverage
impl PartialEq for PolicyCoverage
Source§impl Serialize for PolicyCoverage
impl Serialize for PolicyCoverage
impl StructuralPartialEq for PolicyCoverage
Auto Trait Implementations§
impl Freeze for PolicyCoverage
impl RefUnwindSafe for PolicyCoverage
impl Send for PolicyCoverage
impl Sync for PolicyCoverage
impl Unpin for PolicyCoverage
impl UnsafeUnpin for PolicyCoverage
impl UnwindSafe for PolicyCoverage
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