pub enum CodeScanningAlertCreatedAlertRuleSeverity {
None,
Note,
Warning,
Error,
}
Expand description
The severity of the alert.
JSON schema
{
"description": "The severity of the alert.",
"type": "string",
"enum": [
"none",
"note",
"warning",
"error"
]
}
Variants§
Trait Implementations§
Source§impl Clone for CodeScanningAlertCreatedAlertRuleSeverity
impl Clone for CodeScanningAlertCreatedAlertRuleSeverity
Source§fn clone(&self) -> CodeScanningAlertCreatedAlertRuleSeverity
fn clone(&self) -> CodeScanningAlertCreatedAlertRuleSeverity
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<'de> Deserialize<'de> for CodeScanningAlertCreatedAlertRuleSeverity
impl<'de> Deserialize<'de> for CodeScanningAlertCreatedAlertRuleSeverity
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 From<&CodeScanningAlertCreatedAlertRuleSeverity> for CodeScanningAlertCreatedAlertRuleSeverity
impl From<&CodeScanningAlertCreatedAlertRuleSeverity> for CodeScanningAlertCreatedAlertRuleSeverity
Source§fn from(value: &CodeScanningAlertCreatedAlertRuleSeverity) -> Self
fn from(value: &CodeScanningAlertCreatedAlertRuleSeverity) -> Self
Converts to this type from the input type.
Source§impl Ord for CodeScanningAlertCreatedAlertRuleSeverity
impl Ord for CodeScanningAlertCreatedAlertRuleSeverity
Source§fn cmp(&self, other: &CodeScanningAlertCreatedAlertRuleSeverity) -> Ordering
fn cmp(&self, other: &CodeScanningAlertCreatedAlertRuleSeverity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CodeScanningAlertCreatedAlertRuleSeverity
impl PartialEq for CodeScanningAlertCreatedAlertRuleSeverity
Source§fn eq(&self, other: &CodeScanningAlertCreatedAlertRuleSeverity) -> bool
fn eq(&self, other: &CodeScanningAlertCreatedAlertRuleSeverity) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for CodeScanningAlertCreatedAlertRuleSeverity
impl PartialOrd for CodeScanningAlertCreatedAlertRuleSeverity
impl Copy for CodeScanningAlertCreatedAlertRuleSeverity
impl Eq for CodeScanningAlertCreatedAlertRuleSeverity
impl StructuralPartialEq for CodeScanningAlertCreatedAlertRuleSeverity
Auto Trait Implementations§
impl Freeze for CodeScanningAlertCreatedAlertRuleSeverity
impl RefUnwindSafe for CodeScanningAlertCreatedAlertRuleSeverity
impl Send for CodeScanningAlertCreatedAlertRuleSeverity
impl Sync for CodeScanningAlertCreatedAlertRuleSeverity
impl Unpin for CodeScanningAlertCreatedAlertRuleSeverity
impl UnwindSafe for CodeScanningAlertCreatedAlertRuleSeverity
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