pub struct Evaluation {
pub matches: Vec<MatchInfo>,
pub composite_points: u32,
pub raw_severity: Severity,
pub composite_severity: Severity,
pub final_severity: Severity,
pub adjustments_applied: Vec<&'static str>,
}Expand description
All rule matches for one evaluation, plus the adaptive resolution.
Fields§
§matches: Vec<MatchInfo>§composite_points: u32§raw_severity: Severity§composite_severity: Severity§final_severity: Severity§adjustments_applied: Vec<&'static str>Trait Implementations§
Source§impl Clone for Evaluation
impl Clone for Evaluation
Source§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
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 moreAuto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnsafeUnpin for Evaluation
impl UnwindSafe for Evaluation
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