pub struct CodeScanningAlertAppearedInBranch {
pub action: CodeScanningAlertAppearedInBranchAction,
pub alert: CodeScanningAlertAppearedInBranchAlert,
pub commit_oid: String,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub ref_: String,
pub repository: Repository,
pub sender: GithubOrg,
}Fields§
§action: CodeScanningAlertAppearedInBranchAction§alert: CodeScanningAlertAppearedInBranchAlert§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 CodeScanningAlertAppearedInBranch
impl Clone for CodeScanningAlertAppearedInBranch
Source§fn clone(&self) -> CodeScanningAlertAppearedInBranch
fn clone(&self) -> CodeScanningAlertAppearedInBranch
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<'de> Deserialize<'de> for CodeScanningAlertAppearedInBranch
impl<'de> Deserialize<'de> for CodeScanningAlertAppearedInBranch
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<&CodeScanningAlertAppearedInBranch> for CodeScanningAlertAppearedInBranch
impl From<&CodeScanningAlertAppearedInBranch> for CodeScanningAlertAppearedInBranch
Source§fn from(value: &CodeScanningAlertAppearedInBranch) -> Self
fn from(value: &CodeScanningAlertAppearedInBranch) -> Self
Converts to this type from the input type.
Source§impl From<CodeScanningAlertAppearedInBranch> for CodeScanningAlertEvent
impl From<CodeScanningAlertAppearedInBranch> for CodeScanningAlertEvent
Source§fn from(value: CodeScanningAlertAppearedInBranch) -> Self
fn from(value: CodeScanningAlertAppearedInBranch) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodeScanningAlertAppearedInBranch
impl RefUnwindSafe for CodeScanningAlertAppearedInBranch
impl Send for CodeScanningAlertAppearedInBranch
impl Sync for CodeScanningAlertAppearedInBranch
impl Unpin for CodeScanningAlertAppearedInBranch
impl UnsafeUnpin for CodeScanningAlertAppearedInBranch
impl UnwindSafe for CodeScanningAlertAppearedInBranch
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