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