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