pub struct CodeScanningAlertRule {
pub id: Option<Option<String>>,
pub name: Option<String>,
pub severity: Option<Option<Severity>>,
pub security_severity_level: Option<Option<SecuritySeverityLevel>>,
pub description: Option<String>,
pub full_description: Option<String>,
pub tags: Option<Option<Vec<String>>>,
pub help: Option<Option<String>>,
pub help_uri: Option<Option<String>>,
}
Fields§
§id: Option<Option<String>>
A unique identifier for the rule used to detect the alert.
name: Option<String>
The name of the rule used to detect the alert.
severity: Option<Option<Severity>>
The severity of the alert.
security_severity_level: Option<Option<SecuritySeverityLevel>>
The security severity of the alert.
description: Option<String>
A short description of the rule used to detect the alert.
full_description: Option<String>
description of the rule used to detect the alert.
A set of tags applicable for the rule.
help: Option<Option<String>>
Detailed documentation for the rule as GitHub Flavored Markdown.
help_uri: Option<Option<String>>
A link to the documentation for the rule used to detect the alert.
Implementations§
Source§impl CodeScanningAlertRule
impl CodeScanningAlertRule
pub fn new() -> CodeScanningAlertRule
Trait Implementations§
Source§impl Clone for CodeScanningAlertRule
impl Clone for CodeScanningAlertRule
Source§fn clone(&self) -> CodeScanningAlertRule
fn clone(&self) -> CodeScanningAlertRule
Returns a duplicate of the value. Read more
1.0.0 · 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 CodeScanningAlertRule
impl Debug for CodeScanningAlertRule
Source§impl Default for CodeScanningAlertRule
impl Default for CodeScanningAlertRule
Source§fn default() -> CodeScanningAlertRule
fn default() -> CodeScanningAlertRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeScanningAlertRule
impl<'de> Deserialize<'de> for CodeScanningAlertRule
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 PartialEq for CodeScanningAlertRule
impl PartialEq for CodeScanningAlertRule
Source§impl Serialize for CodeScanningAlertRule
impl Serialize for CodeScanningAlertRule
impl StructuralPartialEq for CodeScanningAlertRule
Auto Trait Implementations§
impl Freeze for CodeScanningAlertRule
impl RefUnwindSafe for CodeScanningAlertRule
impl Send for CodeScanningAlertRule
impl Sync for CodeScanningAlertRule
impl Unpin for CodeScanningAlertRule
impl UnwindSafe for CodeScanningAlertRule
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