pub struct RuleDelta {
pub rule_id: String,
pub status: String,
pub yaml_diff: String,
pub fires_before: usize,
pub fires_after: usize,
pub flipped_lines_caused: Vec<(String, String, Value)>,
}Expand description
Per-rule change: YAML-level (textual) + behavioral (corpus-level).
Mirrors shield-diff.py::RuleDelta. Serialised in --format json
output – keep the field names stable.
Fields§
§rule_id: String§status: String“added” | “removed” | “modified” | “unchanged”
yaml_diff: String§fires_before: usize§fires_after: usize§flipped_lines_caused: Vec<(String, String, Value)>Each entry: (decision_before, decision_after, input_obj).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleDelta
impl RefUnwindSafe for RuleDelta
impl Send for RuleDelta
impl Sync for RuleDelta
impl Unpin for RuleDelta
impl UnsafeUnpin for RuleDelta
impl UnwindSafe for RuleDelta
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