pub struct DependencyKey { /* private fields */ }Expand description
SCA metadata may be attached to a dependency after it was first reported; keying the store by this instead of the full struct means that update refreshes the existing entry instead of being stored (and re-sent) as a second entry for the same package/version.
Trait Implementations§
Source§impl Clone for DependencyKey
impl Clone for DependencyKey
Source§fn clone(&self) -> DependencyKey
fn clone(&self) -> DependencyKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DependencyKey
impl Debug for DependencyKey
impl Eq for DependencyKey
Source§impl Hash for DependencyKey
impl Hash for DependencyKey
Source§impl Keyed<DependencyKey> for Dependency
impl Keyed<DependencyKey> for Dependency
fn key(&self) -> DependencyKey
Source§impl PartialEq for DependencyKey
impl PartialEq for DependencyKey
impl StructuralPartialEq for DependencyKey
Auto Trait Implementations§
impl Freeze for DependencyKey
impl RefUnwindSafe for DependencyKey
impl Send for DependencyKey
impl Sync for DependencyKey
impl Unpin for DependencyKey
impl UnsafeUnpin for DependencyKey
impl UnwindSafe for DependencyKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.