pub struct CodeScanningAlertFixedAlert {Show 13 fields
pub created_at: DateTime<Utc>,
pub dismissed_at: Option<DateTime<Utc>>,
pub dismissed_by: Option<User>,
pub dismissed_reason: Option<CodeScanningAlertFixedAlertDismissedReason>,
pub html_url: String,
pub instances: Vec<AlertInstance>,
pub instances_url: Option<String>,
pub most_recent_instance: Option<AlertInstance>,
pub number: i64,
pub rule: CodeScanningAlertFixedAlertRule,
pub state: CodeScanningAlertFixedAlertState,
pub tool: CodeScanningAlertFixedAlertTool,
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: Option<DateTime<Utc>>The time that the alert was dismissed in ISO 8601 format:
YYYY-MM-DDTHH:MM:SSZ.
dismissed_by: Option<User>§dismissed_reason: Option<CodeScanningAlertFixedAlertDismissedReason>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>§instances_url: Option<String>§most_recent_instance: Option<AlertInstance>§number: i64The code scanning alert number.
rule: CodeScanningAlertFixedAlertRule§state: CodeScanningAlertFixedAlertStateState of a code scanning alert.
tool: CodeScanningAlertFixedAlertTool§url: StringThe REST API URL of the alert resource.
Trait Implementations§
Source§impl Clone for CodeScanningAlertFixedAlert
impl Clone for CodeScanningAlertFixedAlert
Source§fn clone(&self) -> CodeScanningAlertFixedAlert
fn clone(&self) -> CodeScanningAlertFixedAlert
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 CodeScanningAlertFixedAlert
impl Debug for CodeScanningAlertFixedAlert
Source§impl<'de> Deserialize<'de> for CodeScanningAlertFixedAlert
impl<'de> Deserialize<'de> for CodeScanningAlertFixedAlert
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<&CodeScanningAlertFixedAlert> for CodeScanningAlertFixedAlert
impl From<&CodeScanningAlertFixedAlert> for CodeScanningAlertFixedAlert
Source§fn from(value: &CodeScanningAlertFixedAlert) -> Self
fn from(value: &CodeScanningAlertFixedAlert) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodeScanningAlertFixedAlert
impl RefUnwindSafe for CodeScanningAlertFixedAlert
impl Send for CodeScanningAlertFixedAlert
impl Sync for CodeScanningAlertFixedAlert
impl Unpin for CodeScanningAlertFixedAlert
impl UnsafeUnpin for CodeScanningAlertFixedAlert
impl UnwindSafe for CodeScanningAlertFixedAlert
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