pub enum SecretScanningAlertResolution {
FalsePositive,
WontFix,
Revoked,
UsedInTests,
}
Expand description
Required when the state
is resolved
. The reason for resolving the alert.
JSON schema
{
"description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.",
"type": "string",
"enum": [
"false_positive",
"wont_fix",
"revoked",
"used_in_tests"
]
}
Variants§
Trait Implementations§
Source§impl Clone for SecretScanningAlertResolution
impl Clone for SecretScanningAlertResolution
Source§fn clone(&self) -> SecretScanningAlertResolution
fn clone(&self) -> SecretScanningAlertResolution
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 SecretScanningAlertResolution
impl<'de> Deserialize<'de> for SecretScanningAlertResolution
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<&SecretScanningAlertResolution> for SecretScanningAlertResolution
impl From<&SecretScanningAlertResolution> for SecretScanningAlertResolution
Source§fn from(value: &SecretScanningAlertResolution) -> Self
fn from(value: &SecretScanningAlertResolution) -> Self
Converts to this type from the input type.
Source§impl Hash for SecretScanningAlertResolution
impl Hash for SecretScanningAlertResolution
Source§impl Ord for SecretScanningAlertResolution
impl Ord for SecretScanningAlertResolution
Source§fn cmp(&self, other: &SecretScanningAlertResolution) -> Ordering
fn cmp(&self, other: &SecretScanningAlertResolution) -> 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 SecretScanningAlertResolution
impl PartialEq for SecretScanningAlertResolution
Source§fn eq(&self, other: &SecretScanningAlertResolution) -> bool
fn eq(&self, other: &SecretScanningAlertResolution) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for SecretScanningAlertResolution
impl PartialOrd for SecretScanningAlertResolution
Source§impl TryFrom<&String> for SecretScanningAlertResolution
impl TryFrom<&String> for SecretScanningAlertResolution
Source§impl TryFrom<&str> for SecretScanningAlertResolution
impl TryFrom<&str> for SecretScanningAlertResolution
impl Copy for SecretScanningAlertResolution
impl Eq for SecretScanningAlertResolution
impl StructuralPartialEq for SecretScanningAlertResolution
Auto Trait Implementations§
impl Freeze for SecretScanningAlertResolution
impl RefUnwindSafe for SecretScanningAlertResolution
impl Send for SecretScanningAlertResolution
impl Sync for SecretScanningAlertResolution
impl Unpin for SecretScanningAlertResolution
impl UnwindSafe for SecretScanningAlertResolution
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