pub struct CodeScanningAlertRuleSummary {
pub id: Option<Option<String>>,
pub name: Option<String>,
pub tags: Option<Option<Vec<String>>>,
pub severity: Option<Option<Severity>>,
pub security_severity_level: Option<Option<SecuritySeverityLevel>>,
pub description: 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.
A set of tags applicable for the rule.
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.
Implementations§
Source§impl CodeScanningAlertRuleSummary
impl CodeScanningAlertRuleSummary
pub fn new() -> CodeScanningAlertRuleSummary
Trait Implementations§
Source§impl Clone for CodeScanningAlertRuleSummary
impl Clone for CodeScanningAlertRuleSummary
Source§fn clone(&self) -> CodeScanningAlertRuleSummary
fn clone(&self) -> CodeScanningAlertRuleSummary
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 CodeScanningAlertRuleSummary
impl Debug for CodeScanningAlertRuleSummary
Source§impl Default for CodeScanningAlertRuleSummary
impl Default for CodeScanningAlertRuleSummary
Source§fn default() -> CodeScanningAlertRuleSummary
fn default() -> CodeScanningAlertRuleSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeScanningAlertRuleSummary
impl<'de> Deserialize<'de> for CodeScanningAlertRuleSummary
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 CodeScanningAlertRuleSummary
impl PartialEq for CodeScanningAlertRuleSummary
Source§fn eq(&self, other: &CodeScanningAlertRuleSummary) -> bool
fn eq(&self, other: &CodeScanningAlertRuleSummary) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CodeScanningAlertRuleSummary
Auto Trait Implementations§
impl Freeze for CodeScanningAlertRuleSummary
impl RefUnwindSafe for CodeScanningAlertRuleSummary
impl Send for CodeScanningAlertRuleSummary
impl Sync for CodeScanningAlertRuleSummary
impl Unpin for CodeScanningAlertRuleSummary
impl UnwindSafe for CodeScanningAlertRuleSummary
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