pub struct WebhooksSecurityAdvisory {
pub cvss: Box<WebhooksSecurityAdvisoryCvss>,
pub cwes: Vec<WebhooksSecurityAdvisoryCwesInner>,
pub description: String,
pub ghsa_id: String,
pub identifiers: Vec<WebhooksSecurityAdvisoryIdentifiersInner>,
pub published_at: String,
pub references: Vec<WebhooksSecurityAdvisoryReferencesInner>,
pub severity: String,
pub summary: String,
pub updated_at: String,
pub vulnerabilities: Vec<WebhooksSecurityAdvisoryVulnerabilitiesInner>,
pub withdrawn_at: Option<String>,
}
Expand description
WebhooksSecurityAdvisory : The details of the security advisory, including summary, description, and severity.
Fields§
§cvss: Box<WebhooksSecurityAdvisoryCvss>
§cwes: Vec<WebhooksSecurityAdvisoryCwesInner>
§description: String
§ghsa_id: String
§identifiers: Vec<WebhooksSecurityAdvisoryIdentifiersInner>
§published_at: String
§references: Vec<WebhooksSecurityAdvisoryReferencesInner>
§severity: String
§summary: String
§updated_at: String
§vulnerabilities: Vec<WebhooksSecurityAdvisoryVulnerabilitiesInner>
§withdrawn_at: Option<String>
Implementations§
Source§impl WebhooksSecurityAdvisory
impl WebhooksSecurityAdvisory
Sourcepub fn new(
cvss: WebhooksSecurityAdvisoryCvss,
cwes: Vec<WebhooksSecurityAdvisoryCwesInner>,
description: String,
ghsa_id: String,
identifiers: Vec<WebhooksSecurityAdvisoryIdentifiersInner>,
published_at: String,
references: Vec<WebhooksSecurityAdvisoryReferencesInner>,
severity: String,
summary: String,
updated_at: String,
vulnerabilities: Vec<WebhooksSecurityAdvisoryVulnerabilitiesInner>,
withdrawn_at: Option<String>,
) -> WebhooksSecurityAdvisory
pub fn new( cvss: WebhooksSecurityAdvisoryCvss, cwes: Vec<WebhooksSecurityAdvisoryCwesInner>, description: String, ghsa_id: String, identifiers: Vec<WebhooksSecurityAdvisoryIdentifiersInner>, published_at: String, references: Vec<WebhooksSecurityAdvisoryReferencesInner>, severity: String, summary: String, updated_at: String, vulnerabilities: Vec<WebhooksSecurityAdvisoryVulnerabilitiesInner>, withdrawn_at: Option<String>, ) -> WebhooksSecurityAdvisory
The details of the security advisory, including summary, description, and severity.
Trait Implementations§
Source§impl Clone for WebhooksSecurityAdvisory
impl Clone for WebhooksSecurityAdvisory
Source§fn clone(&self) -> WebhooksSecurityAdvisory
fn clone(&self) -> WebhooksSecurityAdvisory
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 Debug for WebhooksSecurityAdvisory
impl Debug for WebhooksSecurityAdvisory
Source§impl Default for WebhooksSecurityAdvisory
impl Default for WebhooksSecurityAdvisory
Source§fn default() -> WebhooksSecurityAdvisory
fn default() -> WebhooksSecurityAdvisory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksSecurityAdvisory
impl<'de> Deserialize<'de> for WebhooksSecurityAdvisory
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 WebhooksSecurityAdvisory
impl PartialEq for WebhooksSecurityAdvisory
Source§impl Serialize for WebhooksSecurityAdvisory
impl Serialize for WebhooksSecurityAdvisory
impl StructuralPartialEq for WebhooksSecurityAdvisory
Auto Trait Implementations§
impl Freeze for WebhooksSecurityAdvisory
impl RefUnwindSafe for WebhooksSecurityAdvisory
impl Send for WebhooksSecurityAdvisory
impl Sync for WebhooksSecurityAdvisory
impl Unpin for WebhooksSecurityAdvisory
impl UnwindSafe for WebhooksSecurityAdvisory
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