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