pub enum AlertInstanceState {
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 AlertInstanceState
impl Clone for AlertInstanceState
Source§fn clone(&self) -> AlertInstanceState
fn clone(&self) -> AlertInstanceState
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 Debug for AlertInstanceState
impl Debug for AlertInstanceState
Source§impl<'de> Deserialize<'de> for AlertInstanceState
impl<'de> Deserialize<'de> for AlertInstanceState
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<&AlertInstanceState> for AlertInstanceState
impl From<&AlertInstanceState> for AlertInstanceState
Source§fn from(value: &AlertInstanceState) -> Self
fn from(value: &AlertInstanceState) -> Self
Converts to this type from the input type.
Source§impl FromStr for AlertInstanceState
impl FromStr for AlertInstanceState
Source§impl Hash for AlertInstanceState
impl Hash for AlertInstanceState
Source§impl Ord for AlertInstanceState
impl Ord for AlertInstanceState
Source§fn cmp(&self, other: &AlertInstanceState) -> Ordering
fn cmp(&self, other: &AlertInstanceState) -> 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 AlertInstanceState
impl PartialEq for AlertInstanceState
Source§impl PartialOrd for AlertInstanceState
impl PartialOrd for AlertInstanceState
Source§impl Serialize for AlertInstanceState
impl Serialize for AlertInstanceState
Source§impl ToString for AlertInstanceState
impl ToString for AlertInstanceState
Source§impl TryFrom<&String> for AlertInstanceState
impl TryFrom<&String> for AlertInstanceState
Source§impl TryFrom<&str> for AlertInstanceState
impl TryFrom<&str> for AlertInstanceState
Source§impl TryFrom<String> for AlertInstanceState
impl TryFrom<String> for AlertInstanceState
impl Copy for AlertInstanceState
impl Eq for AlertInstanceState
impl StructuralPartialEq for AlertInstanceState
Auto Trait Implementations§
impl Freeze for AlertInstanceState
impl RefUnwindSafe for AlertInstanceState
impl Send for AlertInstanceState
impl Sync for AlertInstanceState
impl Unpin for AlertInstanceState
impl UnwindSafe for AlertInstanceState
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