pub struct SuppressionFilter {
pub rule_id: Option<String>,
pub file_path: Option<PathBuf>,
pub status: Option<SuppressionStatus>,
pub include_all: bool,
pub limit: Option<usize>,
}Expand description
Filter criteria for listing suppressions
Fields§
§rule_id: Option<String>Filter by rule ID (exact match or prefix with wildcard)
file_path: Option<PathBuf>Filter by file path (exact match or contains)
status: Option<SuppressionStatus>Filter by status
include_all: boolInclude all statuses (not just active)
limit: Option<usize>Limit number of results
Implementations§
Source§impl SuppressionFilter
impl SuppressionFilter
Sourcepub fn active_only() -> Self
pub fn active_only() -> Self
Create a filter for active suppressions only
Sourcepub fn with_limit(self, limit: usize) -> Self
pub fn with_limit(self, limit: usize) -> Self
Limit results
Trait Implementations§
Source§impl Clone for SuppressionFilter
impl Clone for SuppressionFilter
Source§fn clone(&self) -> SuppressionFilter
fn clone(&self) -> SuppressionFilter
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 SuppressionFilter
impl Debug for SuppressionFilter
Source§impl Default for SuppressionFilter
impl Default for SuppressionFilter
Source§fn default() -> SuppressionFilter
fn default() -> SuppressionFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SuppressionFilter
impl RefUnwindSafe for SuppressionFilter
impl Send for SuppressionFilter
impl Sync for SuppressionFilter
impl Unpin for SuppressionFilter
impl UnwindSafe for SuppressionFilter
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