#[repr(u8)]pub enum SecurityAlertsThreshold {
None = 0,
Critical = 1,
HighOrHigher = 2,
MediumOrHigher = 3,
All = 4,
}Expand description
The security alert severity at which code scanning blocks a change.
Variants§
None = 0
No security alert blocks.
Critical = 1
Critical alerts block.
HighOrHigher = 2
High and critical alerts block.
MediumOrHigher = 3
Medium, high and critical alerts block.
All = 4
Every security alert blocks.
Trait Implementations§
Source§impl Clone for SecurityAlertsThreshold
impl Clone for SecurityAlertsThreshold
Source§fn clone(&self) -> SecurityAlertsThreshold
fn clone(&self) -> SecurityAlertsThreshold
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SecurityAlertsThreshold
Source§impl Debug for SecurityAlertsThreshold
impl Debug for SecurityAlertsThreshold
impl Eq for SecurityAlertsThreshold
Source§impl<'ʄ> Facet<'ʄ> for SecurityAlertsThreshold
impl<'ʄ> Facet<'ʄ> for SecurityAlertsThreshold
Source§impl Ord for SecurityAlertsThreshold
impl Ord for SecurityAlertsThreshold
Source§fn cmp(&self, other: &SecurityAlertsThreshold) -> Ordering
fn cmp(&self, other: &SecurityAlertsThreshold) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SecurityAlertsThreshold
impl PartialEq for SecurityAlertsThreshold
Source§impl PartialOrd for SecurityAlertsThreshold
impl PartialOrd for SecurityAlertsThreshold
impl StructuralPartialEq for SecurityAlertsThreshold
Auto Trait Implementations§
impl Freeze for SecurityAlertsThreshold
impl RefUnwindSafe for SecurityAlertsThreshold
impl Send for SecurityAlertsThreshold
impl Sync for SecurityAlertsThreshold
impl Unpin for SecurityAlertsThreshold
impl UnsafeUnpin for SecurityAlertsThreshold
impl UnwindSafe for SecurityAlertsThreshold
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.