pub struct FixRecommendation {
pub package: String,
pub current_version: String,
pub fixed_version: String,
pub vulnerability_id: String,
pub severity: Severity,
pub requires_parent_update: bool,
}Expand description
Recommendation to fix a vulnerability
Fields§
§package: StringPackage name
current_version: StringCurrent installed version
fixed_version: StringVersion that fixes the vulnerability
vulnerability_id: StringVulnerability ID being fixed
severity: SeveritySeverity of the vulnerability
requires_parent_update: boolWhether parent packages need updating too
Trait Implementations§
Source§impl Clone for FixRecommendation
impl Clone for FixRecommendation
Source§fn clone(&self) -> FixRecommendation
fn clone(&self) -> FixRecommendation
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 moreAuto Trait Implementations§
impl Freeze for FixRecommendation
impl RefUnwindSafe for FixRecommendation
impl Send for FixRecommendation
impl Sync for FixRecommendation
impl Unpin for FixRecommendation
impl UnwindSafe for FixRecommendation
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