pub struct CodeScanningAlertClosedByUserAlert {
pub created_at: DateTime<Utc>,
pub dismissed_at: DateTime<Utc>,
pub dismissed_by: User,
pub dismissed_reason: Option<CodeScanningAlertClosedByUserAlertDismissedReason>,
pub html_url: String,
pub instances: Vec<AlertInstance>,
pub most_recent_instance: Option<AlertInstance>,
pub number: i64,
pub rule: CodeScanningAlertClosedByUserAlertRule,
pub state: CodeScanningAlertClosedByUserAlertState,
pub tool: CodeScanningAlertClosedByUserAlertTool,
pub url: String,
}Expand description
The code scanning alert involved in the event.
Fields§
§created_at: DateTime<Utc>The time that the alert was created in ISO 8601 format:
YYYY-MM-DDTHH:MM:SSZ.
dismissed_at: DateTime<Utc>The time that the alert was dismissed in ISO 8601 format:
YYYY-MM-DDTHH:MM:SSZ.
dismissed_by: User§dismissed_reason: Option<CodeScanningAlertClosedByUserAlertDismissedReason>The reason for dismissing or closing the alert. Can be one of: false positive, won't fix, and used in tests.
html_url: StringThe GitHub URL of the alert resource.
instances: Vec<AlertInstance>§most_recent_instance: Option<AlertInstance>§number: i64The code scanning alert number.
rule: CodeScanningAlertClosedByUserAlertRule§state: CodeScanningAlertClosedByUserAlertStateState of a code scanning alert.
tool: CodeScanningAlertClosedByUserAlertTool§url: StringThe REST API URL of the alert resource.
Trait Implementations§
Source§impl Clone for CodeScanningAlertClosedByUserAlert
impl Clone for CodeScanningAlertClosedByUserAlert
Source§fn clone(&self) -> CodeScanningAlertClosedByUserAlert
fn clone(&self) -> CodeScanningAlertClosedByUserAlert
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 CodeScanningAlertClosedByUserAlert
impl<'de> Deserialize<'de> for CodeScanningAlertClosedByUserAlert
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<&CodeScanningAlertClosedByUserAlert> for CodeScanningAlertClosedByUserAlert
impl From<&CodeScanningAlertClosedByUserAlert> for CodeScanningAlertClosedByUserAlert
Source§fn from(value: &CodeScanningAlertClosedByUserAlert) -> Self
fn from(value: &CodeScanningAlertClosedByUserAlert) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodeScanningAlertClosedByUserAlert
impl RefUnwindSafe for CodeScanningAlertClosedByUserAlert
impl Send for CodeScanningAlertClosedByUserAlert
impl Sync for CodeScanningAlertClosedByUserAlert
impl Unpin for CodeScanningAlertClosedByUserAlert
impl UnsafeUnpin for CodeScanningAlertClosedByUserAlert
impl UnwindSafe for CodeScanningAlertClosedByUserAlert
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