pub struct WordPressExternalAssociationKey { /* private fields */ }Expand description
In-snapshot key for one upstream advisory/software source declaration.
The source-association digest disambiguates content-distinct declarations under one advisory/component pair. It is not a stable cross-report product identity or source authentication; semantic comparison correlates the enclosing advisory and raw component identity separately.
Implementations§
Source§impl WordPressExternalAssociationKey
impl WordPressExternalAssociationKey
pub fn source_namespace(&self) -> &str
pub fn upstream_id(&self) -> &str
pub const fn component(&self) -> &WordPressComponentIdentity
pub const fn source_component(&self) -> &WordfenceV3SourceComponentIdentity
pub const fn source_association_sha256(&self) -> &[u8; 32]
Trait Implementations§
Source§impl Clone for WordPressExternalAssociationKey
impl Clone for WordPressExternalAssociationKey
Source§fn clone(&self) -> WordPressExternalAssociationKey
fn clone(&self) -> WordPressExternalAssociationKey
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 moreimpl Eq for WordPressExternalAssociationKey
Source§impl Ord for WordPressExternalAssociationKey
impl Ord for WordPressExternalAssociationKey
Source§fn cmp(&self, other: &WordPressExternalAssociationKey) -> Ordering
fn cmp(&self, other: &WordPressExternalAssociationKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for WordPressExternalAssociationKey
impl PartialOrd for WordPressExternalAssociationKey
impl StructuralPartialEq for WordPressExternalAssociationKey
Auto Trait Implementations§
impl Freeze for WordPressExternalAssociationKey
impl RefUnwindSafe for WordPressExternalAssociationKey
impl Send for WordPressExternalAssociationKey
impl Sync for WordPressExternalAssociationKey
impl Unpin for WordPressExternalAssociationKey
impl UnsafeUnpin for WordPressExternalAssociationKey
impl UnwindSafe for WordPressExternalAssociationKey
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more