pub struct Signal {
pub name: &'static str,
pub value: f32,
pub score: f32,
pub detail: String,
}Expand description
One contribution to the total score.
Fields§
§name: &'static strShort stable identifier for the signal (e.g. "hidden_link_density").
value: f32Raw measurement (ratio, character count, variance, etc.).
score: f32Weighted score added to the total. Range 0..=40.
detail: StringHuman-readable explanation for logs / --verbose.
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