pub struct CommonHash {
pub level: Level,
pub hash: String,
pub package_count: usize,
pub function_count: usize,
pub sample: Option<String>,
}Expand description
A hash shared by several packages, with one function that has it.
Fields§
§level: LevelNormalization level of the hash.
hash: StringThe hash (hex).
package_count: usizePackages containing it.
function_count: usizeFunctions containing it.
sample: Option<String>ecosystem:package@version path:start-end name of one function with the hash.
Trait Implementations§
Source§impl Clone for CommonHash
impl Clone for CommonHash
Source§impl Debug for CommonHash
impl Debug for CommonHash
Auto Trait Implementations§
impl Freeze for CommonHash
impl RefUnwindSafe for CommonHash
impl Send for CommonHash
impl Sync for CommonHash
impl Unpin for CommonHash
impl UnsafeUnpin for CommonHash
impl UnwindSafe for CommonHash
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more