pub struct ScoreItem {
pub rule_id: String,
pub severity: Severity,
}Expand description
One severity-tagged contribution emitted inside Decision::Scores.
The module reports what it found (rule_id + severity); the pipeline
owns the severity -> points policy.
Fields§
§rule_id: String§severity: SeverityTrait Implementations§
impl Eq for ScoreItem
impl StructuralPartialEq for ScoreItem
Auto Trait Implementations§
impl Freeze for ScoreItem
impl RefUnwindSafe for ScoreItem
impl Send for ScoreItem
impl Sync for ScoreItem
impl Unpin for ScoreItem
impl UnsafeUnpin for ScoreItem
impl UnwindSafe for ScoreItem
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