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