pub struct RepositoryVulnerabilityAlertAlert {Show 17 fields
pub affected_package_name: String,
pub affected_range: String,
pub created_at: DateTime<Utc>,
pub dismiss_reason: Option<String>,
pub dismissed_at: Option<DateTime<Utc>>,
pub dismisser: Option<User>,
pub external_identifier: String,
pub external_reference: String,
pub fix_reason: Option<String>,
pub fixed_at: Option<DateTime<Utc>>,
pub fixed_in: Option<String>,
pub ghsa_id: String,
pub id: i64,
pub node_id: String,
pub number: i64,
pub severity: String,
pub state: RepositoryVulnerabilityAlertAlertState,
}
Expand description
The security alert of the vulnerable dependency.
JSON schema
{
"title": "Repository Vulnerability Alert Alert",
"description": "The security alert of the vulnerable dependency.",
"type": "object",
"required": [
"affected_package_name",
"affected_range",
"created_at",
"external_identifier",
"external_reference",
"ghsa_id",
"id",
"node_id",
"number",
"severity",
"state"
],
"properties": {
"affected_package_name": {
"type": "string"
},
"affected_range": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"dismiss_reason": {
"type": "string"
},
"dismissed_at": {
"type": "string",
"format": "date-time"
},
"dismisser": {
"$ref": "#/definitions/user"
},
"external_identifier": {
"type": "string"
},
"external_reference": {
"type": "string",
"format": "uri"
},
"fix_reason": {
"type": "string"
},
"fixed_at": {
"type": "string",
"format": "date-time"
},
"fixed_in": {
"type": "string"
},
"ghsa_id": {
"type": "string"
},
"id": {
"type": "integer"
},
"node_id": {
"type": "string"
},
"number": {
"type": "integer"
},
"severity": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"open",
"dismissed",
"fixed"
]
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§affected_package_name: String
§affected_range: String
§created_at: DateTime<Utc>
§dismiss_reason: Option<String>
§dismissed_at: Option<DateTime<Utc>>
§dismisser: Option<User>
§external_identifier: String
§external_reference: String
§fix_reason: Option<String>
§fixed_at: Option<DateTime<Utc>>
§fixed_in: Option<String>
§ghsa_id: String
§id: i64
§node_id: String
§number: i64
§severity: String
§state: RepositoryVulnerabilityAlertAlertState
Implementations§
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<'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 From<&RepositoryVulnerabilityAlertAlert> for RepositoryVulnerabilityAlertAlert
impl From<&RepositoryVulnerabilityAlertAlert> for RepositoryVulnerabilityAlertAlert
Source§fn from(value: &RepositoryVulnerabilityAlertAlert) -> Self
fn from(value: &RepositoryVulnerabilityAlertAlert) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryVulnerabilityAlertAlert> for RepositoryVulnerabilityAlertAlert
impl From<RepositoryVulnerabilityAlertAlert> for RepositoryVulnerabilityAlertAlert
Source§fn from(value: RepositoryVulnerabilityAlertAlert) -> Self
fn from(value: RepositoryVulnerabilityAlertAlert) -> Self
Converts to this type from the input type.
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