pub struct Suspect {
pub name: String,
pub nearest: String,
pub distance: usize,
}Expand description
A dependency name that looks like a typo of a popular package.
Fields§
§name: StringThe suspicious dependency name.
nearest: StringThe popular package it closely resembles.
distance: usizeEdit distance between them.
Trait Implementations§
impl Eq for Suspect
impl StructuralPartialEq for Suspect
Auto Trait Implementations§
impl Freeze for Suspect
impl RefUnwindSafe for Suspect
impl Send for Suspect
impl Sync for Suspect
impl Unpin for Suspect
impl UnsafeUnpin for Suspect
impl UnwindSafe for Suspect
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