pub struct SuppressionReport {
pub suppressed: Vec<SuppressedWarning>,
pub judged_rules: HashSet<String>,
}Expand description
What a run’s inline disable comments actually suppressed.
Assembled once per document, after every single-file rule has run, so a rule reading it sees the complete picture.
Fields§
§suppressed: Vec<SuppressedWarning>Every warning an inline disable comment removed, in the order raised
judged_rules: HashSet<String>Canonical ids of the rules whose findings this report accounts for.
A rule outside this set produced nothing the report can see, so nothing can be concluded about a comment naming it.
Trait Implementations§
Source§impl Clone for SuppressionReport
impl Clone for SuppressionReport
Source§fn clone(&self) -> SuppressionReport
fn clone(&self) -> SuppressionReport
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 moreSource§impl Debug for SuppressionReport
impl Debug for SuppressionReport
Source§impl Default for SuppressionReport
impl Default for SuppressionReport
Source§fn default() -> SuppressionReport
fn default() -> SuppressionReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SuppressionReport
impl RefUnwindSafe for SuppressionReport
impl Send for SuppressionReport
impl Sync for SuppressionReport
impl Unpin for SuppressionReport
impl UnsafeUnpin for SuppressionReport
impl UnwindSafe for SuppressionReport
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