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