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