pub struct RepositoryAdvisoryVulnerability {
pub package: Option<Box<VulnerabilityPackage>>,
pub vulnerable_version_range: Option<String>,
pub patched_versions: Option<String>,
pub vulnerable_functions: Option<Vec<String>>,
}
Expand description
RepositoryAdvisoryVulnerability : A product affected by the vulnerability detailed in a repository security advisory.
Fields§
§package: Option<Box<VulnerabilityPackage>>
§vulnerable_version_range: Option<String>
The range of the package versions affected by the vulnerability.
patched_versions: Option<String>
The package version(s) that resolve the vulnerability.
vulnerable_functions: Option<Vec<String>>
The functions in the package that are affected.
Implementations§
Trait Implementations§
Source§impl Clone for RepositoryAdvisoryVulnerability
impl Clone for RepositoryAdvisoryVulnerability
Source§fn clone(&self) -> RepositoryAdvisoryVulnerability
fn clone(&self) -> RepositoryAdvisoryVulnerability
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 Default for RepositoryAdvisoryVulnerability
impl Default for RepositoryAdvisoryVulnerability
Source§fn default() -> RepositoryAdvisoryVulnerability
fn default() -> RepositoryAdvisoryVulnerability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryAdvisoryVulnerability
impl<'de> Deserialize<'de> for RepositoryAdvisoryVulnerability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RepositoryAdvisoryVulnerability
impl PartialEq for RepositoryAdvisoryVulnerability
Source§fn eq(&self, other: &RepositoryAdvisoryVulnerability) -> bool
fn eq(&self, other: &RepositoryAdvisoryVulnerability) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryAdvisoryVulnerability
Auto Trait Implementations§
impl Freeze for RepositoryAdvisoryVulnerability
impl RefUnwindSafe for RepositoryAdvisoryVulnerability
impl Send for RepositoryAdvisoryVulnerability
impl Sync for RepositoryAdvisoryVulnerability
impl Unpin for RepositoryAdvisoryVulnerability
impl UnwindSafe for RepositoryAdvisoryVulnerability
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