pub struct RepositoryVulnerabilityAlertAlert1 {Show 17 fields
pub affected_package_name: String,
pub affected_range: String,
pub created_at: String,
pub dismiss_reason: Option<String>,
pub dismissed_at: Option<String>,
pub dismisser: Option<Option<Box<User>>>,
pub external_identifier: String,
pub external_reference: Option<String>,
pub fix_reason: Option<String>,
pub fixed_at: Option<String>,
pub fixed_in: Option<String>,
pub ghsa_id: String,
pub id: i32,
pub node_id: String,
pub number: i32,
pub severity: String,
pub state: State,
}
Expand description
RepositoryVulnerabilityAlertAlert1 : The security alert of the vulnerable dependency.
Fields§
§affected_package_name: String
§affected_range: String
§created_at: String
§dismiss_reason: Option<String>
§dismissed_at: Option<String>
§dismisser: Option<Option<Box<User>>>
§external_identifier: String
§external_reference: Option<String>
§fix_reason: Option<String>
§fixed_at: Option<String>
§fixed_in: Option<String>
§ghsa_id: String
§id: i32
§node_id: String
§number: i32
§severity: String
§state: State
Implementations§
Source§impl RepositoryVulnerabilityAlertAlert1
impl RepositoryVulnerabilityAlertAlert1
Sourcepub fn new(
affected_package_name: String,
affected_range: String,
created_at: String,
external_identifier: String,
external_reference: Option<String>,
ghsa_id: String,
id: i32,
node_id: String,
number: i32,
severity: String,
state: State,
) -> RepositoryVulnerabilityAlertAlert1
pub fn new( affected_package_name: String, affected_range: String, created_at: String, external_identifier: String, external_reference: Option<String>, ghsa_id: String, id: i32, node_id: String, number: i32, severity: String, state: State, ) -> RepositoryVulnerabilityAlertAlert1
The security alert of the vulnerable dependency.
Trait Implementations§
Source§impl Clone for RepositoryVulnerabilityAlertAlert1
impl Clone for RepositoryVulnerabilityAlertAlert1
Source§fn clone(&self) -> RepositoryVulnerabilityAlertAlert1
fn clone(&self) -> RepositoryVulnerabilityAlertAlert1
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 RepositoryVulnerabilityAlertAlert1
impl Default for RepositoryVulnerabilityAlertAlert1
Source§fn default() -> RepositoryVulnerabilityAlertAlert1
fn default() -> RepositoryVulnerabilityAlertAlert1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryVulnerabilityAlertAlert1
impl<'de> Deserialize<'de> for RepositoryVulnerabilityAlertAlert1
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 RepositoryVulnerabilityAlertAlert1
impl PartialEq for RepositoryVulnerabilityAlertAlert1
Source§fn eq(&self, other: &RepositoryVulnerabilityAlertAlert1) -> bool
fn eq(&self, other: &RepositoryVulnerabilityAlertAlert1) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryVulnerabilityAlertAlert1
Auto Trait Implementations§
impl Freeze for RepositoryVulnerabilityAlertAlert1
impl RefUnwindSafe for RepositoryVulnerabilityAlertAlert1
impl Send for RepositoryVulnerabilityAlertAlert1
impl Sync for RepositoryVulnerabilityAlertAlert1
impl Unpin for RepositoryVulnerabilityAlertAlert1
impl UnwindSafe for RepositoryVulnerabilityAlertAlert1
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