pub struct RepositoryVulnerabilityAlertResolveAlert {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: String,
pub fixed_at: DateTime<Utc>,
pub fixed_in: String,
pub ghsa_id: String,
pub id: i64,
pub node_id: String,
pub number: i64,
pub severity: String,
pub state: RepositoryVulnerabilityAlertResolveAlertState,
}
Expand description
RepositoryVulnerabilityAlertResolveAlert
JSON schema
{
"type": "object",
"required": [
"affected_package_name",
"affected_range",
"created_at",
"external_identifier",
"external_reference",
"fix_reason",
"fixed_at",
"fixed_in",
"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": [
"fixed"
]
}
},
"additionalProperties": false
}
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: String
§fixed_at: DateTime<Utc>
§fixed_in: String
§ghsa_id: String
§id: i64
§node_id: String
§number: i64
§severity: String
§state: RepositoryVulnerabilityAlertResolveAlertState
Implementations§
Trait Implementations§
Source§impl Clone for RepositoryVulnerabilityAlertResolveAlert
impl Clone for RepositoryVulnerabilityAlertResolveAlert
Source§fn clone(&self) -> RepositoryVulnerabilityAlertResolveAlert
fn clone(&self) -> RepositoryVulnerabilityAlertResolveAlert
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 RepositoryVulnerabilityAlertResolveAlert
impl<'de> Deserialize<'de> for RepositoryVulnerabilityAlertResolveAlert
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<&RepositoryVulnerabilityAlertResolveAlert> for RepositoryVulnerabilityAlertResolveAlert
impl From<&RepositoryVulnerabilityAlertResolveAlert> for RepositoryVulnerabilityAlertResolveAlert
Source§fn from(value: &RepositoryVulnerabilityAlertResolveAlert) -> Self
fn from(value: &RepositoryVulnerabilityAlertResolveAlert) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryVulnerabilityAlertResolveAlert> for RepositoryVulnerabilityAlertResolveAlert
impl From<RepositoryVulnerabilityAlertResolveAlert> for RepositoryVulnerabilityAlertResolveAlert
Source§fn from(value: RepositoryVulnerabilityAlertResolveAlert) -> Self
fn from(value: RepositoryVulnerabilityAlertResolveAlert) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RepositoryVulnerabilityAlertResolveAlert
impl RefUnwindSafe for RepositoryVulnerabilityAlertResolveAlert
impl Send for RepositoryVulnerabilityAlertResolveAlert
impl Sync for RepositoryVulnerabilityAlertResolveAlert
impl Unpin for RepositoryVulnerabilityAlertResolveAlert
impl UnwindSafe for RepositoryVulnerabilityAlertResolveAlert
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