pub struct SecretScanningAlertLocationCreated {
pub action: SecretScanningAlertLocationCreatedAction,
pub alert: SecretScanningAlert,
pub installation: Option<InstallationLite>,
pub location: SecretScanningLocation,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
SecretScanningAlertLocationCreated
JSON schema
{
"title": "secret_scanning_alert_location created event",
"type": "object",
"required": [
"action",
"alert",
"location",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"created"
]
},
"alert": {
"$ref": "#/definitions/secret-scanning-alert"
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"location": {
"$ref": "#/definitions/secret-scanning-location"
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: SecretScanningAlertLocationCreatedAction
§alert: SecretScanningAlert
§installation: Option<InstallationLite>
§location: SecretScanningLocation
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Trait Implementations§
Source§impl Clone for SecretScanningAlertLocationCreated
impl Clone for SecretScanningAlertLocationCreated
Source§fn clone(&self) -> SecretScanningAlertLocationCreated
fn clone(&self) -> SecretScanningAlertLocationCreated
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 SecretScanningAlertLocationCreated
impl<'de> Deserialize<'de> for SecretScanningAlertLocationCreated
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<&SecretScanningAlertLocationCreated> for SecretScanningAlertLocationCreated
impl From<&SecretScanningAlertLocationCreated> for SecretScanningAlertLocationCreated
Source§fn from(value: &SecretScanningAlertLocationCreated) -> Self
fn from(value: &SecretScanningAlertLocationCreated) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningAlertLocationCreated> for SecretScanningAlertLocationCreated
impl From<SecretScanningAlertLocationCreated> for SecretScanningAlertLocationCreated
Source§fn from(value: SecretScanningAlertLocationCreated) -> Self
fn from(value: SecretScanningAlertLocationCreated) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningAlertLocationCreated> for SecretScanningAlertLocationEvent
impl From<SecretScanningAlertLocationCreated> for SecretScanningAlertLocationEvent
Source§fn from(value: SecretScanningAlertLocationCreated) -> Self
fn from(value: SecretScanningAlertLocationCreated) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningAlertLocationEvent> for SecretScanningAlertLocationCreated
impl From<SecretScanningAlertLocationEvent> for SecretScanningAlertLocationCreated
Source§fn from(value: SecretScanningAlertLocationEvent) -> Self
fn from(value: SecretScanningAlertLocationEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecretScanningAlertLocationCreated
impl RefUnwindSafe for SecretScanningAlertLocationCreated
impl Send for SecretScanningAlertLocationCreated
impl Sync for SecretScanningAlertLocationCreated
impl Unpin for SecretScanningAlertLocationCreated
impl UnwindSafe for SecretScanningAlertLocationCreated
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