pub struct SecretScanningAlertReopened {
pub action: SecretScanningAlertReopenedAction,
pub alert: SecretScanningAlertReopenedAlert,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
SecretScanningAlertReopened
JSON schema
{
"title": "secret_scanning_alert reopened event",
"type": "object",
"required": [
"action",
"alert",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"reopened"
]
},
"alert": {
"description": "The secret scanning alert involved in the event.",
"type": "object",
"required": [
"number",
"resolution",
"resolved_at",
"resolved_by",
"secret_type"
],
"properties": {
"number": {
"type": "integer"
},
"resolution": {
"type": "null"
},
"resolved_at": {
"type": "null"
},
"resolved_by": {
"type": "null"
},
"secret_type": {
"type": "string"
}
},
"additionalProperties": false
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: SecretScanningAlertReopenedAction
§alert: SecretScanningAlertReopenedAlert
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Trait Implementations§
Source§impl Clone for SecretScanningAlertReopened
impl Clone for SecretScanningAlertReopened
Source§fn clone(&self) -> SecretScanningAlertReopened
fn clone(&self) -> SecretScanningAlertReopened
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 SecretScanningAlertReopened
impl Debug for SecretScanningAlertReopened
Source§impl<'de> Deserialize<'de> for SecretScanningAlertReopened
impl<'de> Deserialize<'de> for SecretScanningAlertReopened
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<&SecretScanningAlertReopened> for SecretScanningAlertReopened
impl From<&SecretScanningAlertReopened> for SecretScanningAlertReopened
Source§fn from(value: &SecretScanningAlertReopened) -> Self
fn from(value: &SecretScanningAlertReopened) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningAlertReopened> for SecretScanningAlertEvent
impl From<SecretScanningAlertReopened> for SecretScanningAlertEvent
Source§fn from(value: SecretScanningAlertReopened) -> Self
fn from(value: SecretScanningAlertReopened) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningAlertReopened> for SecretScanningAlertReopened
impl From<SecretScanningAlertReopened> for SecretScanningAlertReopened
Source§fn from(value: SecretScanningAlertReopened) -> Self
fn from(value: SecretScanningAlertReopened) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecretScanningAlertReopened
impl RefUnwindSafe for SecretScanningAlertReopened
impl Send for SecretScanningAlertReopened
impl Sync for SecretScanningAlertReopened
impl Unpin for SecretScanningAlertReopened
impl UnwindSafe for SecretScanningAlertReopened
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