pub struct ComponentAnalysis {
pub component_type: ComponentType,
pub name: String,
pub version: String,
pub latest_version: String,
pub status: ComponentStatus,
}Expand description
Analysis result for a single component
Fields§
§component_type: ComponentTypeComponent type
name: StringComponent name/slug
version: StringDetected version (or “-” if unknown)
latest_version: StringLatest available version (or “-” if unknown)
status: ComponentStatusComponent status
Trait Implementations§
Source§impl Clone for ComponentAnalysis
impl Clone for ComponentAnalysis
Source§fn clone(&self) -> ComponentAnalysis
fn clone(&self) -> ComponentAnalysis
Returns a duplicate of the value. Read more
1.0.0 · 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 ComponentAnalysis
impl Debug for ComponentAnalysis
Auto Trait Implementations§
impl Freeze for ComponentAnalysis
impl RefUnwindSafe for ComponentAnalysis
impl Send for ComponentAnalysis
impl Sync for ComponentAnalysis
impl Unpin for ComponentAnalysis
impl UnwindSafe for ComponentAnalysis
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