pub struct WordPressComponentSignal { /* private fields */ }Implementations§
Source§impl WordPressComponentSignal
impl WordPressComponentSignal
pub fn generator_metadata( version: Option<&str>, ) -> Result<Self, WordPressReviewError>
pub fn same_origin_asset( kind: WordPressComponentKind, slug: &str, ) -> Result<Self, WordPressReviewError>
Sourcepub fn theme_stylesheet_declaration(
slug: &str,
version: &str,
) -> Result<Self, WordPressReviewError>
pub fn theme_stylesheet_declaration( slug: &str, version: &str, ) -> Result<Self, WordPressReviewError>
Records a version declared by a fetched, exact-origin theme stylesheet. The declaration is public artifact metadata, not authenticated install state or an operator assertion.
Sourcepub fn core_asset() -> Self
pub fn core_asset() -> Self
Records a supported same-origin WordPress core asset-path hint.
pub const fn identity(&self) -> &WordPressComponentIdentity
pub fn version(&self) -> Option<&str>
pub const fn source(&self) -> WordPressEvidenceSource
pub const fn confidence(&self) -> WordPressEvidenceConfidence
Trait Implementations§
Source§impl Clone for WordPressComponentSignal
impl Clone for WordPressComponentSignal
Source§fn clone(&self) -> WordPressComponentSignal
fn clone(&self) -> WordPressComponentSignal
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 WordPressComponentSignal
impl Debug for WordPressComponentSignal
impl Eq for WordPressComponentSignal
Source§impl Ord for WordPressComponentSignal
impl Ord for WordPressComponentSignal
Source§fn cmp(&self, other: &WordPressComponentSignal) -> Ordering
fn cmp(&self, other: &WordPressComponentSignal) -> 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 PartialEq for WordPressComponentSignal
impl PartialEq for WordPressComponentSignal
Source§impl PartialOrd for WordPressComponentSignal
impl PartialOrd for WordPressComponentSignal
impl StructuralPartialEq for WordPressComponentSignal
Auto Trait Implementations§
impl Freeze for WordPressComponentSignal
impl RefUnwindSafe for WordPressComponentSignal
impl Send for WordPressComponentSignal
impl Sync for WordPressComponentSignal
impl Unpin for WordPressComponentSignal
impl UnsafeUnpin for WordPressComponentSignal
impl UnwindSafe for WordPressComponentSignal
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