#[repr(u8)]pub enum AlertsThreshold {
None = 0,
Errors = 1,
ErrorsAndWarnings = 2,
All = 3,
}Expand description
The alert severity at which code scanning blocks a change.
Variants§
None = 0
No alert blocks.
Errors = 1
Errors block.
ErrorsAndWarnings = 2
Errors and warnings block.
All = 3
Every alert blocks.
Trait Implementations§
Source§impl Clone for AlertsThreshold
impl Clone for AlertsThreshold
Source§fn clone(&self) -> AlertsThreshold
fn clone(&self) -> AlertsThreshold
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 AlertsThreshold
Source§impl Debug for AlertsThreshold
impl Debug for AlertsThreshold
impl Eq for AlertsThreshold
Source§impl<'ʄ> Facet<'ʄ> for AlertsThreshold
impl<'ʄ> Facet<'ʄ> for AlertsThreshold
Source§impl Ord for AlertsThreshold
impl Ord for AlertsThreshold
Source§fn cmp(&self, other: &AlertsThreshold) -> Ordering
fn cmp(&self, other: &AlertsThreshold) -> 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 AlertsThreshold
impl PartialEq for AlertsThreshold
Source§impl PartialOrd for AlertsThreshold
impl PartialOrd for AlertsThreshold
impl StructuralPartialEq for AlertsThreshold
Auto Trait Implementations§
impl Freeze for AlertsThreshold
impl RefUnwindSafe for AlertsThreshold
impl Send for AlertsThreshold
impl Sync for AlertsThreshold
impl Unpin for AlertsThreshold
impl UnsafeUnpin for AlertsThreshold
impl UnwindSafe for AlertsThreshold
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.