pub struct SecretScanningAlertResolved {
pub action: SecretScanningAlertResolvedAction,
pub alert: SecretScanningAlertResolvedAlert,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
SecretScanningAlertResolved
JSON schema
{
"title": "secret_scanning_alert resolved event",
"type": "object",
"required": [
"action",
"alert",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"resolved"
]
},
"alert": {
"allOf": [
{
"$ref": "#/definitions/secret-scanning-alert"
},
{
"type": "object",
"required": [
"resolution",
"resolved_at",
"resolved_by"
],
"properties": {
"resolution": {
"type": "string",
"enum": [
"false_positive",
"wont_fix",
"revoked",
"used_in_tests"
]
},
"resolved_at": {
"type": "string",
"format": "date-time"
},
"resolved_by": {
"$ref": "#/definitions/user"
}
},
"tsAdditionalProperties": 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: SecretScanningAlertResolvedAction
§alert: SecretScanningAlertResolvedAlert
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Trait Implementations§
Source§impl Clone for SecretScanningAlertResolved
impl Clone for SecretScanningAlertResolved
Source§fn clone(&self) -> SecretScanningAlertResolved
fn clone(&self) -> SecretScanningAlertResolved
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 SecretScanningAlertResolved
impl Debug for SecretScanningAlertResolved
Source§impl<'de> Deserialize<'de> for SecretScanningAlertResolved
impl<'de> Deserialize<'de> for SecretScanningAlertResolved
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<&SecretScanningAlertResolved> for SecretScanningAlertResolved
impl From<&SecretScanningAlertResolved> for SecretScanningAlertResolved
Source§fn from(value: &SecretScanningAlertResolved) -> Self
fn from(value: &SecretScanningAlertResolved) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningAlertResolved> for SecretScanningAlertEvent
impl From<SecretScanningAlertResolved> for SecretScanningAlertEvent
Source§fn from(value: SecretScanningAlertResolved) -> Self
fn from(value: SecretScanningAlertResolved) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningAlertResolved> for SecretScanningAlertResolved
impl From<SecretScanningAlertResolved> for SecretScanningAlertResolved
Source§fn from(value: SecretScanningAlertResolved) -> Self
fn from(value: SecretScanningAlertResolved) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecretScanningAlertResolved
impl RefUnwindSafe for SecretScanningAlertResolved
impl Send for SecretScanningAlertResolved
impl Sync for SecretScanningAlertResolved
impl Unpin for SecretScanningAlertResolved
impl UnwindSafe for SecretScanningAlertResolved
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