pub enum CodeScanningAlertAppearedInBranchAlertState {
Open,
Dismissed,
Fixed,
}
Expand description
State of a code scanning alert.
JSON schema
{
"description": "State of a code scanning alert.",
"type": "string",
"enum": [
"open",
"dismissed",
"fixed"
]
}
Variants§
Trait Implementations§
Source§impl Clone for CodeScanningAlertAppearedInBranchAlertState
impl Clone for CodeScanningAlertAppearedInBranchAlertState
Source§fn clone(&self) -> CodeScanningAlertAppearedInBranchAlertState
fn clone(&self) -> CodeScanningAlertAppearedInBranchAlertState
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 CodeScanningAlertAppearedInBranchAlertState
impl<'de> Deserialize<'de> for CodeScanningAlertAppearedInBranchAlertState
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<&CodeScanningAlertAppearedInBranchAlertState> for CodeScanningAlertAppearedInBranchAlertState
impl From<&CodeScanningAlertAppearedInBranchAlertState> for CodeScanningAlertAppearedInBranchAlertState
Source§fn from(value: &CodeScanningAlertAppearedInBranchAlertState) -> Self
fn from(value: &CodeScanningAlertAppearedInBranchAlertState) -> Self
Converts to this type from the input type.
Source§impl Ord for CodeScanningAlertAppearedInBranchAlertState
impl Ord for CodeScanningAlertAppearedInBranchAlertState
Source§fn cmp(&self, other: &CodeScanningAlertAppearedInBranchAlertState) -> Ordering
fn cmp(&self, other: &CodeScanningAlertAppearedInBranchAlertState) -> 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 CodeScanningAlertAppearedInBranchAlertState
impl PartialEq for CodeScanningAlertAppearedInBranchAlertState
Source§fn eq(&self, other: &CodeScanningAlertAppearedInBranchAlertState) -> bool
fn eq(&self, other: &CodeScanningAlertAppearedInBranchAlertState) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for CodeScanningAlertAppearedInBranchAlertState
impl PartialOrd for CodeScanningAlertAppearedInBranchAlertState
impl Copy for CodeScanningAlertAppearedInBranchAlertState
impl Eq for CodeScanningAlertAppearedInBranchAlertState
impl StructuralPartialEq for CodeScanningAlertAppearedInBranchAlertState
Auto Trait Implementations§
impl Freeze for CodeScanningAlertAppearedInBranchAlertState
impl RefUnwindSafe for CodeScanningAlertAppearedInBranchAlertState
impl Send for CodeScanningAlertAppearedInBranchAlertState
impl Sync for CodeScanningAlertAppearedInBranchAlertState
impl Unpin for CodeScanningAlertAppearedInBranchAlertState
impl UnwindSafe for CodeScanningAlertAppearedInBranchAlertState
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