pub struct RepositoryVulnerabilityAlertReopen {
pub action: RepositoryVulnerabilityAlertReopenAction,
pub alert: RepositoryVulnerabilityAlertReopenAlert,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: GithubOrg,
}
Expand description
RepositoryVulnerabilityAlertReopen
JSON schema
{
"title": "repository_vulnerability_alert reopen event",
"type": "object",
"required": [
"action",
"alert",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"reopen"
]
},
"alert": {
"allOf": [
{
"$ref": "#/definitions/repository-vulnerability-alert-alert"
},
{
"type": "object",
"required": [
"state"
],
"properties": {
"state": {
"type": "string",
"enum": [
"open"
]
}
},
"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: RepositoryVulnerabilityAlertReopenAction
§alert: RepositoryVulnerabilityAlertReopenAlert
§organization: Option<Organization>
§repository: Repository
§sender: GithubOrg
Implementations§
Trait Implementations§
Source§impl Clone for RepositoryVulnerabilityAlertReopen
impl Clone for RepositoryVulnerabilityAlertReopen
Source§fn clone(&self) -> RepositoryVulnerabilityAlertReopen
fn clone(&self) -> RepositoryVulnerabilityAlertReopen
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 RepositoryVulnerabilityAlertReopen
impl<'de> Deserialize<'de> for RepositoryVulnerabilityAlertReopen
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<&RepositoryVulnerabilityAlertReopen> for RepositoryVulnerabilityAlertReopen
impl From<&RepositoryVulnerabilityAlertReopen> for RepositoryVulnerabilityAlertReopen
Source§fn from(value: &RepositoryVulnerabilityAlertReopen) -> Self
fn from(value: &RepositoryVulnerabilityAlertReopen) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryVulnerabilityAlertReopen> for RepositoryVulnerabilityAlertEvent
impl From<RepositoryVulnerabilityAlertReopen> for RepositoryVulnerabilityAlertEvent
Source§fn from(value: RepositoryVulnerabilityAlertReopen) -> Self
fn from(value: RepositoryVulnerabilityAlertReopen) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryVulnerabilityAlertReopen> for RepositoryVulnerabilityAlertReopen
impl From<RepositoryVulnerabilityAlertReopen> for RepositoryVulnerabilityAlertReopen
Source§fn from(value: RepositoryVulnerabilityAlertReopen) -> Self
fn from(value: RepositoryVulnerabilityAlertReopen) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RepositoryVulnerabilityAlertReopen
impl RefUnwindSafe for RepositoryVulnerabilityAlertReopen
impl Send for RepositoryVulnerabilityAlertReopen
impl Sync for RepositoryVulnerabilityAlertReopen
impl Unpin for RepositoryVulnerabilityAlertReopen
impl UnwindSafe for RepositoryVulnerabilityAlertReopen
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