pub struct Signal {
pub name: &'static str,
pub score: f64,
pub weight: f64,
pub detail: String,
}Expand description
One scored dimension of dependency health.
Fields§
§name: &'static strStable short name, e.g. "staleness".
score: f64Normalized subscore, 0.0 (worst) ..= 1.0 (best).
weight: f64Relative weight in the aggregate. Only the weights of present signals count.
detail: StringOne-line explanation of why this subscore was assigned (powers --explain).
Trait Implementations§
impl StructuralPartialEq for Signal
Auto Trait Implementations§
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnsafeUnpin for Signal
impl UnwindSafe for Signal
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