pub struct EffectiveSuppressions {
pub suppress_all: bool,
pub suppressed_rules: HashSet<String>,
}Expand description
The effective suppressions for a single line.
Fields§
§suppress_all: boolIf true, all rules are suppressed (wildcard).
suppressed_rules: HashSet<String>Set of specific rule IDs that are suppressed.
Implementations§
Trait Implementations§
Source§impl Clone for EffectiveSuppressions
impl Clone for EffectiveSuppressions
Source§fn clone(&self) -> EffectiveSuppressions
fn clone(&self) -> EffectiveSuppressions
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 EffectiveSuppressions
impl Debug for EffectiveSuppressions
Source§impl Default for EffectiveSuppressions
impl Default for EffectiveSuppressions
Source§fn default() -> EffectiveSuppressions
fn default() -> EffectiveSuppressions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EffectiveSuppressions
impl RefUnwindSafe for EffectiveSuppressions
impl Send for EffectiveSuppressions
impl Sync for EffectiveSuppressions
impl Unpin for EffectiveSuppressions
impl UnsafeUnpin for EffectiveSuppressions
impl UnwindSafe for EffectiveSuppressions
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