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