pub struct SecurityAdvisory {
pub id: String,
pub affected_packages: Vec<String>,
pub severity: AdvisorySeverity,
pub description: String,
pub fixed_version: Option<Version>,
}Expand description
A security advisory describing a vulnerability that affects one or more packages.
Fields§
§id: StringAdvisory identifier (e.g. “VSA-2026-001”)
affected_packages: Vec<String>Names of packages affected by this advisory
severity: AdvisorySeveritySeverity of the vulnerability
description: StringHuman-readable description of the vulnerability
fixed_version: Option<Version>Version that fixes the vulnerability, if known
Trait Implementations§
Source§impl Clone for SecurityAdvisory
impl Clone for SecurityAdvisory
Source§fn clone(&self) -> SecurityAdvisory
fn clone(&self) -> SecurityAdvisory
Returns a duplicate of the value. Read more
1.0.0§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 SecurityAdvisory
impl RefUnwindSafe for SecurityAdvisory
impl Send for SecurityAdvisory
impl Sync for SecurityAdvisory
impl Unpin for SecurityAdvisory
impl UnwindSafe for SecurityAdvisory
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)