pub struct DecisionLine {
pub decision: String,
pub primary_rule_id: Option<String>,
pub matched_rules: Vec<String>,
pub raw_severity: String,
pub composite_severity: String,
pub composite_points: u32,
pub reason: String,
pub input: Value,
}Expand description
One evaluation result, mirroring the JSON shape --check writes
per line. Names are kept stable with the Python prototype’s
DecisionLine so the JSON output schema stays source-compatible.
Fields§
§decision: String§primary_rule_id: Option<String>§matched_rules: Vec<String>§raw_severity: String§composite_severity: String§composite_points: u32§reason: String§input: ValueTrait Implementations§
Source§impl Clone for DecisionLine
impl Clone for DecisionLine
Source§fn clone(&self) -> DecisionLine
fn clone(&self) -> DecisionLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecisionLine
impl Debug for DecisionLine
Auto Trait Implementations§
impl Freeze for DecisionLine
impl RefUnwindSafe for DecisionLine
impl Send for DecisionLine
impl Sync for DecisionLine
impl Unpin for DecisionLine
impl UnsafeUnpin for DecisionLine
impl UnwindSafe for DecisionLine
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