pub struct SuppressionSet { /* private fields */ }Implementations§
Source§impl SuppressionSet
impl SuppressionSet
pub fn empty() -> Self
pub fn from_source(source: &str) -> Self
pub fn is_suppressed(&self, finding: &Finding) -> bool
Trait Implementations§
Source§impl Clone for SuppressionSet
impl Clone for SuppressionSet
Source§fn clone(&self) -> SuppressionSet
fn clone(&self) -> SuppressionSet
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 SuppressionSet
impl Debug for SuppressionSet
impl Eq for SuppressionSet
Source§impl PartialEq for SuppressionSet
impl PartialEq for SuppressionSet
Source§fn eq(&self, other: &SuppressionSet) -> bool
fn eq(&self, other: &SuppressionSet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SuppressionSet
Auto Trait Implementations§
impl Freeze for SuppressionSet
impl RefUnwindSafe for SuppressionSet
impl Send for SuppressionSet
impl Sync for SuppressionSet
impl Unpin for SuppressionSet
impl UnsafeUnpin for SuppressionSet
impl UnwindSafe for SuppressionSet
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