pub struct GuardFileReport {
pub path: String,
pub exists: bool,
pub zone: Option<GuardZone>,
pub boundary: GuardBoundary,
pub policy_rules: Vec<GuardPolicyRule>,
pub severities: GuardSeverities,
pub notes: Vec<String>,
}Expand description
Guard information for a single project-root-relative path.
Fields§
§path: StringProject-root-relative path using forward slashes.
exists: boolWhether the path currently exists on disk.
zone: Option<GuardZone>Boundary zone classification for this file, when any zone matches.
boundary: GuardBoundaryBoundary rules that apply to this file.
policy_rules: Vec<GuardPolicyRule>Rule-pack policy rules in scope for this file.
severities: GuardSeveritiesEffective severities for rule families relevant to guard output.
notes: Vec<String>Human-readable notes for unrestricted or degraded cases.
Trait Implementations§
Source§impl Clone for GuardFileReport
impl Clone for GuardFileReport
Source§impl Debug for GuardFileReport
impl Debug for GuardFileReport
Auto Trait Implementations§
impl Freeze for GuardFileReport
impl RefUnwindSafe for GuardFileReport
impl Send for GuardFileReport
impl Sync for GuardFileReport
impl Unpin for GuardFileReport
impl UnsafeUnpin for GuardFileReport
impl UnwindSafe for GuardFileReport
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