pub struct Score {
pub value: u8,
pub grade: Grade,
pub tier: Tier,
pub signals: Vec<Signal>,
pub forced_reasons: Vec<String>,
}Expand description
The full result of scoring one dependency.
Fields§
§value: u80–100 health value.
grade: GradeLetter grade derived from value.
tier: TierHeadline verdict (may be forced worse than value alone implies).
signals: Vec<Signal>The signals that produced this score, in display order.
forced_reasons: Vec<String>Human-readable reasons the tier was forced (empty when the tier follows the value).
Trait Implementations§
impl StructuralPartialEq for Score
Auto Trait Implementations§
impl Freeze for Score
impl RefUnwindSafe for Score
impl Send for Score
impl Sync for Score
impl Unpin for Score
impl UnsafeUnpin for Score
impl UnwindSafe for Score
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