pub enum CodeScanningAlertFixedAlertDismissedReason {
FalsePositive,
WontFix,
UsedInTests,
}
Expand description
The reason for dismissing or closing the alert. Can be one of: false positive
, won't fix
, and used in tests
.
JSON schema
{
"description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
"type": "string",
"enum": [
"false positive",
"won't fix",
"used in tests"
]
}
Variants§
Trait Implementations§
Source§impl Clone for CodeScanningAlertFixedAlertDismissedReason
impl Clone for CodeScanningAlertFixedAlertDismissedReason
Source§fn clone(&self) -> CodeScanningAlertFixedAlertDismissedReason
fn clone(&self) -> CodeScanningAlertFixedAlertDismissedReason
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 CodeScanningAlertFixedAlertDismissedReason
impl<'de> Deserialize<'de> for CodeScanningAlertFixedAlertDismissedReason
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<&CodeScanningAlertFixedAlertDismissedReason> for CodeScanningAlertFixedAlertDismissedReason
impl From<&CodeScanningAlertFixedAlertDismissedReason> for CodeScanningAlertFixedAlertDismissedReason
Source§fn from(value: &CodeScanningAlertFixedAlertDismissedReason) -> Self
fn from(value: &CodeScanningAlertFixedAlertDismissedReason) -> Self
Converts to this type from the input type.
Source§impl Ord for CodeScanningAlertFixedAlertDismissedReason
impl Ord for CodeScanningAlertFixedAlertDismissedReason
Source§fn cmp(&self, other: &CodeScanningAlertFixedAlertDismissedReason) -> Ordering
fn cmp(&self, other: &CodeScanningAlertFixedAlertDismissedReason) -> 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 CodeScanningAlertFixedAlertDismissedReason
impl PartialEq for CodeScanningAlertFixedAlertDismissedReason
Source§fn eq(&self, other: &CodeScanningAlertFixedAlertDismissedReason) -> bool
fn eq(&self, other: &CodeScanningAlertFixedAlertDismissedReason) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for CodeScanningAlertFixedAlertDismissedReason
impl PartialOrd for CodeScanningAlertFixedAlertDismissedReason
impl Copy for CodeScanningAlertFixedAlertDismissedReason
impl Eq for CodeScanningAlertFixedAlertDismissedReason
impl StructuralPartialEq for CodeScanningAlertFixedAlertDismissedReason
Auto Trait Implementations§
impl Freeze for CodeScanningAlertFixedAlertDismissedReason
impl RefUnwindSafe for CodeScanningAlertFixedAlertDismissedReason
impl Send for CodeScanningAlertFixedAlertDismissedReason
impl Sync for CodeScanningAlertFixedAlertDismissedReason
impl Unpin for CodeScanningAlertFixedAlertDismissedReason
impl UnwindSafe for CodeScanningAlertFixedAlertDismissedReason
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