pub enum CodeScanningAlertClosedByUserAlertRuleSeverity {
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 CodeScanningAlertClosedByUserAlertRuleSeverity
impl Clone for CodeScanningAlertClosedByUserAlertRuleSeverity
Source§fn clone(&self) -> CodeScanningAlertClosedByUserAlertRuleSeverity
fn clone(&self) -> CodeScanningAlertClosedByUserAlertRuleSeverity
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 CodeScanningAlertClosedByUserAlertRuleSeverity
impl<'de> Deserialize<'de> for CodeScanningAlertClosedByUserAlertRuleSeverity
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<&CodeScanningAlertClosedByUserAlertRuleSeverity> for CodeScanningAlertClosedByUserAlertRuleSeverity
impl From<&CodeScanningAlertClosedByUserAlertRuleSeverity> for CodeScanningAlertClosedByUserAlertRuleSeverity
Source§fn from(value: &CodeScanningAlertClosedByUserAlertRuleSeverity) -> Self
fn from(value: &CodeScanningAlertClosedByUserAlertRuleSeverity) -> Self
Converts to this type from the input type.
Source§impl Ord for CodeScanningAlertClosedByUserAlertRuleSeverity
impl Ord for CodeScanningAlertClosedByUserAlertRuleSeverity
Source§fn cmp(
&self,
other: &CodeScanningAlertClosedByUserAlertRuleSeverity,
) -> Ordering
fn cmp( &self, other: &CodeScanningAlertClosedByUserAlertRuleSeverity, ) -> 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 CodeScanningAlertClosedByUserAlertRuleSeverity
impl PartialEq for CodeScanningAlertClosedByUserAlertRuleSeverity
Source§fn eq(&self, other: &CodeScanningAlertClosedByUserAlertRuleSeverity) -> bool
fn eq(&self, other: &CodeScanningAlertClosedByUserAlertRuleSeverity) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for CodeScanningAlertClosedByUserAlertRuleSeverity
impl PartialOrd for CodeScanningAlertClosedByUserAlertRuleSeverity
impl Copy for CodeScanningAlertClosedByUserAlertRuleSeverity
impl Eq for CodeScanningAlertClosedByUserAlertRuleSeverity
impl StructuralPartialEq for CodeScanningAlertClosedByUserAlertRuleSeverity
Auto Trait Implementations§
impl Freeze for CodeScanningAlertClosedByUserAlertRuleSeverity
impl RefUnwindSafe for CodeScanningAlertClosedByUserAlertRuleSeverity
impl Send for CodeScanningAlertClosedByUserAlertRuleSeverity
impl Sync for CodeScanningAlertClosedByUserAlertRuleSeverity
impl Unpin for CodeScanningAlertClosedByUserAlertRuleSeverity
impl UnwindSafe for CodeScanningAlertClosedByUserAlertRuleSeverity
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