pub struct CodeScanningAlertCreated {
pub action: CodeScanningAlertCreatedAction,
pub alert: CodeScanningAlertCreatedAlert,
pub commit_oid: String,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub ref_: String,
pub repository: Repository,
pub sender: GithubOrg,
}Fields§
§action: CodeScanningAlertCreatedAction§alert: CodeScanningAlertCreatedAlert§commit_oid: StringThe commit SHA of the code scanning alert. When the action is
reopened_by_user or closed_by_user, the event was triggered by the
sender and this value will be empty.
installation: Option<InstallationLite>§organization: Option<Organization>§ref_: StringThe Git reference of the code scanning alert. When the action is
reopened_by_user or closed_by_user, the event was triggered by the
sender and this value will be empty.
repository: Repository§sender: GithubOrgTrait Implementations§
Source§impl Clone for CodeScanningAlertCreated
impl Clone for CodeScanningAlertCreated
Source§fn clone(&self) -> CodeScanningAlertCreated
fn clone(&self) -> CodeScanningAlertCreated
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodeScanningAlertCreated
impl Debug for CodeScanningAlertCreated
Source§impl<'de> Deserialize<'de> for CodeScanningAlertCreated
impl<'de> Deserialize<'de> for CodeScanningAlertCreated
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<&CodeScanningAlertCreated> for CodeScanningAlertCreated
impl From<&CodeScanningAlertCreated> for CodeScanningAlertCreated
Source§fn from(value: &CodeScanningAlertCreated) -> Self
fn from(value: &CodeScanningAlertCreated) -> Self
Converts to this type from the input type.
Source§impl From<CodeScanningAlertCreated> for CodeScanningAlertEvent
impl From<CodeScanningAlertCreated> for CodeScanningAlertEvent
Source§fn from(value: CodeScanningAlertCreated) -> Self
fn from(value: CodeScanningAlertCreated) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodeScanningAlertCreated
impl RefUnwindSafe for CodeScanningAlertCreated
impl Send for CodeScanningAlertCreated
impl Sync for CodeScanningAlertCreated
impl Unpin for CodeScanningAlertCreated
impl UnsafeUnpin for CodeScanningAlertCreated
impl UnwindSafe for CodeScanningAlertCreated
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