pub struct DependabotAlertSecurityVulnerability {
pub package: Box<DependabotAlertPackage>,
pub severity: Severity,
pub vulnerable_version_range: String,
pub first_patched_version: Option<Box<DependabotAlertSecurityVulnerabilityFirstPatchedVersion>>,
}Expand description
DependabotAlertSecurityVulnerability : Details pertaining to one vulnerable version range for the advisory.
Fields§
§package: Box<DependabotAlertPackage>§severity: SeverityThe severity of the vulnerability.
vulnerable_version_range: StringConditions that identify vulnerable versions of this vulnerability’s package.
first_patched_version: Option<Box<DependabotAlertSecurityVulnerabilityFirstPatchedVersion>>Implementations§
Source§impl DependabotAlertSecurityVulnerability
impl DependabotAlertSecurityVulnerability
Sourcepub fn new(
package: DependabotAlertPackage,
severity: Severity,
vulnerable_version_range: String,
first_patched_version: Option<DependabotAlertSecurityVulnerabilityFirstPatchedVersion>,
) -> DependabotAlertSecurityVulnerability
pub fn new( package: DependabotAlertPackage, severity: Severity, vulnerable_version_range: String, first_patched_version: Option<DependabotAlertSecurityVulnerabilityFirstPatchedVersion>, ) -> DependabotAlertSecurityVulnerability
Details pertaining to one vulnerable version range for the advisory.
Trait Implementations§
Source§impl Clone for DependabotAlertSecurityVulnerability
impl Clone for DependabotAlertSecurityVulnerability
Source§fn clone(&self) -> DependabotAlertSecurityVulnerability
fn clone(&self) -> DependabotAlertSecurityVulnerability
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 DependabotAlertSecurityVulnerability
impl Default for DependabotAlertSecurityVulnerability
Source§fn default() -> DependabotAlertSecurityVulnerability
fn default() -> DependabotAlertSecurityVulnerability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependabotAlertSecurityVulnerability
impl<'de> Deserialize<'de> for DependabotAlertSecurityVulnerability
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 DependabotAlertSecurityVulnerability
impl PartialEq for DependabotAlertSecurityVulnerability
Source§fn eq(&self, other: &DependabotAlertSecurityVulnerability) -> bool
fn eq(&self, other: &DependabotAlertSecurityVulnerability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DependabotAlertSecurityVulnerability
Auto Trait Implementations§
impl Freeze for DependabotAlertSecurityVulnerability
impl RefUnwindSafe for DependabotAlertSecurityVulnerability
impl Send for DependabotAlertSecurityVulnerability
impl Sync for DependabotAlertSecurityVulnerability
impl Unpin for DependabotAlertSecurityVulnerability
impl UnwindSafe for DependabotAlertSecurityVulnerability
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