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