pub struct CodeScanningAlertFixedEventAlert<'a> {
pub number: usize,
pub created_at: &'a str,
pub url: &'a str,
pub html_url: &'a str,
pub instances: Vec<CodeScanningAlertFixedEventAlertInstances<'a>>,
pub dismissed_by: Option<User<'a>>,
pub dismissed_at: Option<&'a str>,
pub dismissed_reason: Option<CodeScanningAlertFixedEventAlertDismissedReason>,
pub rule: CodeScanningAlertFixedEventAlertRule<'a>,
pub tool: CodeScanningAlertFixedEventAlertTool<'a>,
pub most_recent_instance: Option<AlertInstance<'a>>,
pub instances_url: Option<&'a str>,
}
Fields§
§number: usize
The code scanning alert number.
created_at: &'a str
The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
url: &'a str
The REST API URL of the alert resource.
html_url: &'a str
The GitHub URL of the alert resource.
instances: Vec<CodeScanningAlertFixedEventAlertInstances<'a>>
§dismissed_by: Option<User<'a>>
§dismissed_at: Option<&'a str>
The time that the alert was dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
dismissed_reason: Option<CodeScanningAlertFixedEventAlertDismissedReason>
The reason for dismissing or closing the alert. Can be one of: false positive
, won't fix
, and used in tests
.
rule: CodeScanningAlertFixedEventAlertRule<'a>
§tool: CodeScanningAlertFixedEventAlertTool<'a>
§most_recent_instance: Option<AlertInstance<'a>>
§instances_url: Option<&'a str>
Trait Implementations§
source§impl<'a> Debug for CodeScanningAlertFixedEventAlert<'a>
impl<'a> Debug for CodeScanningAlertFixedEventAlert<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for CodeScanningAlertFixedEventAlert<'a>
impl<'de: 'a, 'a> Deserialize<'de> for CodeScanningAlertFixedEventAlert<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CodeScanningAlertFixedEventAlert<'a>
impl<'a> Send for CodeScanningAlertFixedEventAlert<'a>
impl<'a> Sync for CodeScanningAlertFixedEventAlert<'a>
impl<'a> Unpin for CodeScanningAlertFixedEventAlert<'a>
impl<'a> UnwindSafe for CodeScanningAlertFixedEventAlert<'a>
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