pub struct RepositoryVulnerabilityAlertResolve {
pub action: RepositoryVulnerabilityAlertResolveAction,
pub alert: RepositoryVulnerabilityAlertResolveAlert,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: GithubOrg,
}
Expand description
RepositoryVulnerabilityAlertResolve
JSON schema
{
"title": "repository_vulnerability_alert resolve event",
"type": "object",
"required": [
"action",
"alert",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"resolve"
]
},
"alert": {
"allOf": [
{
"$ref": "#/definitions/repository-vulnerability-alert-alert"
},
{
"type": "object",
"required": [
"fix_reason",
"fixed_at",
"fixed_in",
"state"
],
"properties": {
"fix_reason": {
"type": "string"
},
"fixed_at": {
"type": "string",
"format": "date-time"
},
"fixed_in": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"fixed"
]
}
},
"tsAdditionalProperties": false
}
]
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/github-org"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: RepositoryVulnerabilityAlertResolveAction
§alert: RepositoryVulnerabilityAlertResolveAlert
§organization: Option<Organization>
§repository: Repository
§sender: GithubOrg
Implementations§
Trait Implementations§
Source§impl Clone for RepositoryVulnerabilityAlertResolve
impl Clone for RepositoryVulnerabilityAlertResolve
Source§fn clone(&self) -> RepositoryVulnerabilityAlertResolve
fn clone(&self) -> RepositoryVulnerabilityAlertResolve
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 RepositoryVulnerabilityAlertResolve
impl<'de> Deserialize<'de> for RepositoryVulnerabilityAlertResolve
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<&RepositoryVulnerabilityAlertResolve> for RepositoryVulnerabilityAlertResolve
impl From<&RepositoryVulnerabilityAlertResolve> for RepositoryVulnerabilityAlertResolve
Source§fn from(value: &RepositoryVulnerabilityAlertResolve) -> Self
fn from(value: &RepositoryVulnerabilityAlertResolve) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryVulnerabilityAlertResolve> for RepositoryVulnerabilityAlertEvent
impl From<RepositoryVulnerabilityAlertResolve> for RepositoryVulnerabilityAlertEvent
Source§fn from(value: RepositoryVulnerabilityAlertResolve) -> Self
fn from(value: RepositoryVulnerabilityAlertResolve) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryVulnerabilityAlertResolve> for RepositoryVulnerabilityAlertResolve
impl From<RepositoryVulnerabilityAlertResolve> for RepositoryVulnerabilityAlertResolve
Source§fn from(value: RepositoryVulnerabilityAlertResolve) -> Self
fn from(value: RepositoryVulnerabilityAlertResolve) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RepositoryVulnerabilityAlertResolve
impl RefUnwindSafe for RepositoryVulnerabilityAlertResolve
impl Send for RepositoryVulnerabilityAlertResolve
impl Sync for RepositoryVulnerabilityAlertResolve
impl Unpin for RepositoryVulnerabilityAlertResolve
impl UnwindSafe for RepositoryVulnerabilityAlertResolve
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