pub struct CodeScanningAlertCreatedEventAlertRule<'a> {
pub id: &'a str,
pub severity: Option<CodeScanningAlertCreatedEventAlertRuleSeverity>,
pub description: &'a str,
pub name: Option<&'a str>,
pub full_description: Option<&'a str>,
pub tags: Option<()>,
pub help: Option<()>,
}
Fields§
§id: &'a str
A unique identifier for the rule used to detect the alert.
severity: Option<CodeScanningAlertCreatedEventAlertRuleSeverity>
The severity of the alert.
description: &'a str
A short description of the rule used to detect the alert.
name: Option<&'a str>
§full_description: Option<&'a str>
§help: Option<()>
Trait Implementations§
source§impl<'a> Debug for CodeScanningAlertCreatedEventAlertRule<'a>
impl<'a> Debug for CodeScanningAlertCreatedEventAlertRule<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for CodeScanningAlertCreatedEventAlertRule<'a>
impl<'de: 'a, 'a> Deserialize<'de> for CodeScanningAlertCreatedEventAlertRule<'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 CodeScanningAlertCreatedEventAlertRule<'a>
impl<'a> Send for CodeScanningAlertCreatedEventAlertRule<'a>
impl<'a> Sync for CodeScanningAlertCreatedEventAlertRule<'a>
impl<'a> Unpin for CodeScanningAlertCreatedEventAlertRule<'a>
impl<'a> UnwindSafe for CodeScanningAlertCreatedEventAlertRule<'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