pub struct CodeScanningAlertAppearedInBranchEventAlert<'a> {
pub number: usize,
pub created_at: &'a str,
pub url: &'a str,
pub html_url: &'a str,
pub instances: Vec<AlertInstance<'a>>,
pub most_recent_instance: Option<AlertInstance<'a>>,
pub state: CodeScanningAlertAppearedInBranchEventAlertState,
pub dismissed_by: Option<User<'a>>,
pub dismissed_at: Option<&'a str>,
pub dismissed_reason: Option<CodeScanningAlertAppearedInBranchEventAlertDismissedReason>,
pub rule: CodeScanningAlertAppearedInBranchEventAlertRule<'a>,
pub tool: CodeScanningAlertAppearedInBranchEventAlertTool<'a>,
}
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<AlertInstance<'a>>
§most_recent_instance: Option<AlertInstance<'a>>
§state: CodeScanningAlertAppearedInBranchEventAlertState
State of a code scanning alert.
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<CodeScanningAlertAppearedInBranchEventAlertDismissedReason>
The reason for dismissing or closing the alert. Can be one of: false positive
, won't fix
, and used in tests
.
rule: CodeScanningAlertAppearedInBranchEventAlertRule<'a>
§tool: CodeScanningAlertAppearedInBranchEventAlertTool<'a>
Trait Implementations§
source§impl<'a> Debug for CodeScanningAlertAppearedInBranchEventAlert<'a>
impl<'a> Debug for CodeScanningAlertAppearedInBranchEventAlert<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for CodeScanningAlertAppearedInBranchEventAlert<'a>
impl<'de: 'a, 'a> Deserialize<'de> for CodeScanningAlertAppearedInBranchEventAlert<'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 CodeScanningAlertAppearedInBranchEventAlert<'a>
impl<'a> Send for CodeScanningAlertAppearedInBranchEventAlert<'a>
impl<'a> Sync for CodeScanningAlertAppearedInBranchEventAlert<'a>
impl<'a> Unpin for CodeScanningAlertAppearedInBranchEventAlert<'a>
impl<'a> UnwindSafe for CodeScanningAlertAppearedInBranchEventAlert<'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