pub enum SuppressionSource {
Inline,
PathGlobal,
PathRule,
Preset,
Baseline,
Database,
}Expand description
Source of a suppression
Variants§
Inline
Suppressed by inline comment
PathGlobal
Suppressed by global ignore_paths config
PathRule
Suppressed by per-rule ignore_paths_by_rule config
Preset
Suppressed by default test/example preset (–mode pr/ci)
Baseline
Suppressed by baseline
Database
Suppressed by database entry
Trait Implementations§
Source§impl Clone for SuppressionSource
impl Clone for SuppressionSource
Source§fn clone(&self) -> SuppressionSource
fn clone(&self) -> SuppressionSource
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 Debug for SuppressionSource
impl Debug for SuppressionSource
Source§impl<'de> Deserialize<'de> for SuppressionSource
impl<'de> Deserialize<'de> for SuppressionSource
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 Display for SuppressionSource
impl Display for SuppressionSource
Source§impl PartialEq for SuppressionSource
impl PartialEq for SuppressionSource
Source§impl Serialize for SuppressionSource
impl Serialize for SuppressionSource
impl Copy for SuppressionSource
impl Eq for SuppressionSource
impl StructuralPartialEq for SuppressionSource
Auto Trait Implementations§
impl Freeze for SuppressionSource
impl RefUnwindSafe for SuppressionSource
impl Send for SuppressionSource
impl Sync for SuppressionSource
impl Unpin for SuppressionSource
impl UnwindSafe for SuppressionSource
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.