pub struct WebhooksAlert {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
WebhooksAlert : 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 WebhooksAlert
impl WebhooksAlert
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,
) -> WebhooksAlert
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, ) -> WebhooksAlert
The security alert of the vulnerable dependency.
Trait Implementations§
Source§impl Clone for WebhooksAlert
impl Clone for WebhooksAlert
Source§fn clone(&self) -> WebhooksAlert
fn clone(&self) -> WebhooksAlert
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 WebhooksAlert
impl Debug for WebhooksAlert
Source§impl Default for WebhooksAlert
impl Default for WebhooksAlert
Source§fn default() -> WebhooksAlert
fn default() -> WebhooksAlert
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksAlert
impl<'de> Deserialize<'de> for WebhooksAlert
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 WebhooksAlert
impl PartialEq for WebhooksAlert
Source§impl Serialize for WebhooksAlert
impl Serialize for WebhooksAlert
impl StructuralPartialEq for WebhooksAlert
Auto Trait Implementations§
impl Freeze for WebhooksAlert
impl RefUnwindSafe for WebhooksAlert
impl Send for WebhooksAlert
impl Sync for WebhooksAlert
impl Unpin for WebhooksAlert
impl UnwindSafe for WebhooksAlert
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