pub struct WordPressReviewInputs { /* private fields */ }Implementations§
Source§impl WordPressReviewInputs
impl WordPressReviewInputs
pub const fn new( context: Option<WordPressContext>, catalog: Option<WordPressAdvisoryCatalog>, ) -> Self
Sourcepub fn from_saved_inventory(
inventory: WordPressSavedInventory,
catalog: Option<WordPressAdvisoryCatalog>,
provenance: Vec<WordPressLocalInputProvenance>,
) -> Result<Self, WordPressReviewError>
pub fn from_saved_inventory( inventory: WordPressSavedInventory, catalog: Option<WordPressAdvisoryCatalog>, provenance: Vec<WordPressLocalInputProvenance>, ) -> Result<Self, WordPressReviewError>
Builds review inputs from one validated saved-inventory selection.
provenance must contain exactly one entry for every supplied inventory
category and its byte length must match the bytes parsed for that
category. Digests are retained as operator-input provenance; they are
not authentication of WP-CLI or of the selected target.
Sourcepub fn with_wordfence_v3_catalog(
self,
catalog: WordfenceV3Catalog,
) -> Result<Self, WordPressReviewError>
pub fn with_wordfence_v3_catalog( self, catalog: WordfenceV3Catalog, ) -> Result<Self, WordPressReviewError>
Selects a validated local Wordfence V3 Production export as the advisory input for this review.
Native Termivar catalogues and external exports are intentionally mutually exclusive. The export remains inert data and grants no network or runtime authority.
Sourcepub fn with_external_version_profile(
self,
profile: WordPressComparisonProfile,
) -> Result<Self, WordPressReviewError>
pub fn with_external_version_profile( self, profile: WordPressComparisonProfile, ) -> Result<Self, WordPressReviewError>
Selects a Termivar comparison profile for a previously attached local Wordfence V3 export.
The profile is an explicit operator interpretation of the export’s structured bounds. It does not assert that Wordfence selected or endorses those comparison semantics.
Sourcepub fn with_discovery_layout(
self,
layout: WordPressDiscoveryLayout,
) -> Result<Self, WordPressReviewError>
pub fn with_discovery_layout( self, layout: WordPressDiscoveryLayout, ) -> Result<Self, WordPressReviewError>
Attaches one validated, non-authoritative deployment declaration.
The declaration is inert data. Runtime discovery still requires its separate explicit opt-in and an eligible observed asset before a component metadata request can be derived.
Sourcepub fn with_asset_fingerprint_catalog(
self,
catalog: WordPressAssetFingerprintCatalogImport,
) -> Result<Self, WordPressReviewError>
pub fn with_asset_fingerprint_catalog( self, catalog: WordPressAssetFingerprintCatalogImport, ) -> Result<Self, WordPressReviewError>
Attaches one validated finite catalogue of exact JS/CSS reference bytes.
The catalogue is inert local data. It neither nominates target URLs nor grants network authority, and matching its listed releases never creates installed-version evidence.
pub const fn context(&self) -> Option<&WordPressContext>
pub const fn catalog(&self) -> Option<&WordPressAdvisoryCatalog>
pub const fn wordfence_v3_catalog(&self) -> Option<&WordfenceV3Catalog>
pub const fn external_version_profile( &self, ) -> Option<WordPressComparisonProfile>
pub const fn inventory_summary(&self) -> Option<&WordPressSavedInventorySummary>
pub fn local_input_provenance(&self) -> &[WordPressLocalInputProvenance]
pub const fn discovery_layout(&self) -> Option<&WordPressDiscoveryLayout>
pub fn asset_fingerprint_catalog( &self, ) -> Option<&WordPressAssetFingerprintCatalogImport>
Trait Implementations§
Source§impl Clone for WordPressReviewInputs
impl Clone for WordPressReviewInputs
Source§fn clone(&self) -> WordPressReviewInputs
fn clone(&self) -> WordPressReviewInputs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WordPressReviewInputs
impl Debug for WordPressReviewInputs
Source§impl Default for WordPressReviewInputs
impl Default for WordPressReviewInputs
Source§fn default() -> WordPressReviewInputs
fn default() -> WordPressReviewInputs
impl Eq for WordPressReviewInputs
Source§impl PartialEq for WordPressReviewInputs
impl PartialEq for WordPressReviewInputs
impl StructuralPartialEq for WordPressReviewInputs
Auto Trait Implementations§
impl Freeze for WordPressReviewInputs
impl RefUnwindSafe for WordPressReviewInputs
impl Send for WordPressReviewInputs
impl Sync for WordPressReviewInputs
impl Unpin for WordPressReviewInputs
impl UnsafeUnpin for WordPressReviewInputs
impl UnwindSafe for WordPressReviewInputs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
§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
key and return true if they are equal.