pub struct Analysis {
pub url: String,
pub wordpress: ComponentAnalysis,
pub theme: ComponentAnalysis,
pub plugins: HashMap<String, ComponentAnalysis>,
}Expand description
Complete analysis results
Fields§
§url: StringTarget URL
wordpress: ComponentAnalysisWordPress core analysis
theme: ComponentAnalysisMain theme analysis
plugins: HashMap<String, ComponentAnalysis>Plugin analyses
Implementations§
Source§impl Analysis
impl Analysis
Sourcepub fn is_wordpress(&self) -> bool
pub fn is_wordpress(&self) -> bool
Check if WordPress was detected
Sourcepub fn plugin_count(&self) -> usize
pub fn plugin_count(&self) -> usize
Get count of detected plugins
Sourcepub fn outdated_count(&self) -> usize
pub fn outdated_count(&self) -> usize
Get count of outdated components
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Analysis
impl RefUnwindSafe for Analysis
impl Send for Analysis
impl Sync for Analysis
impl Unpin for Analysis
impl UnwindSafe for Analysis
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