pub struct GuardEvent {
pub schema_id: &'static str,
pub timestamp: String,
pub platform: &'static str,
pub matched: u32,
pub targeted: u32,
pub killed: u32,
pub failed: u32,
pub skipped_safety: u32,
pub warnings: Vec<String>,
}Expand description
Structured output for one guard evaluation cycle.
Fields§
§schema_id: &'static strSchema identifier for version detection.
timestamp: StringEvent timestamp (ISO 8601).
platform: &'static strPlatform identifier.
matched: u32Number of descendants matching the rule filter.
targeted: u32Number of targets selected for action after safety/cap checks.
killed: u32Number of successful kills in this cycle.
failed: u32Number of failed kills in this cycle.
skipped_safety: u32Number of targets skipped by safety exclusions.
warnings: Vec<String>Non-fatal warnings.
Trait Implementations§
Source§impl Clone for GuardEvent
impl Clone for GuardEvent
Source§impl Debug for GuardEvent
impl Debug for GuardEvent
Auto Trait Implementations§
impl Forget for GuardEvent
impl Freeze for GuardEvent
impl RefUnwindSafe for GuardEvent
impl Send for GuardEvent
impl Sync for GuardEvent
impl Unpin for GuardEvent
impl UnsafeUnpin for GuardEvent
impl UnwindSafe for GuardEvent
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