pub struct PatchSecurityAdvisoriesUpdateRepositoryAdvisory {
pub summary: Option<String>,
pub description: Option<String>,
pub cve_id: Option<String>,
pub vulnerabilities: Option<Vec<RepositoryadvisorycreateVulnerabilities>>,
pub cwe_ids: Option<Vec<String>>,
pub credits: Option<Vec<RepositoryadvisorycreateCredits>>,
pub severity: Option<String>,
pub cvss_vector_string: Option<String>,
pub state: Option<String>,
pub collaborating_users: Option<Vec<String>>,
pub collaborating_teams: Option<Vec<String>>,
}Fields§
§summary: Option<String>A short summary of the advisory.
description: Option<String>A detailed description of what the advisory impacts.
cve_id: Option<String>The Common Vulnerabilities and Exposures (CVE) ID.
vulnerabilities: Option<Vec<RepositoryadvisorycreateVulnerabilities>>A product affected by the vulnerability detailed in a repository security advisory.
cwe_ids: Option<Vec<String>>A list of Common Weakness Enumeration (CWE) IDs.
credits: Option<Vec<RepositoryadvisorycreateCredits>>A list of users receiving credit for their participation in the security advisory.
severity: Option<String>The severity of the advisory. You must choose between setting this field or cvss_vector_string.
cvss_vector_string: Option<String>The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or severity.
state: Option<String>The state of the advisory.
collaborating_users: Option<Vec<String>>A list of usernames who have been granted write access to the advisory.
collaborating_teams: Option<Vec<String>>A list of team slugs which have been granted write access to the advisory.
Trait Implementations§
Source§impl Clone for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl Clone for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
Source§fn clone(&self) -> PatchSecurityAdvisoriesUpdateRepositoryAdvisory
fn clone(&self) -> PatchSecurityAdvisoriesUpdateRepositoryAdvisory
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 PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl Default for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
Source§fn default() -> PatchSecurityAdvisoriesUpdateRepositoryAdvisory
fn default() -> PatchSecurityAdvisoriesUpdateRepositoryAdvisory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl<'de> Deserialize<'de> for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
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 PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl PartialEq for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
Source§fn eq(&self, other: &PatchSecurityAdvisoriesUpdateRepositoryAdvisory) -> bool
fn eq(&self, other: &PatchSecurityAdvisoriesUpdateRepositoryAdvisory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
Auto Trait Implementations§
impl Freeze for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl RefUnwindSafe for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl Send for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl Sync for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl Unpin for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
impl UnwindSafe for PatchSecurityAdvisoriesUpdateRepositoryAdvisory
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