pub struct CheckSuppression {
pub slug: String,
pub files: Vec<String>,
pub reason: String,
}Expand description
A single check-warning suppression rule.
Fields§
§slug: StringDiagnostic slug to suppress (e.g. "non-tail-recursion").
files: Vec<String>Optional file glob patterns. Empty = suppress globally.
reason: StringMandatory explanation — why the warning is acceptable.
Trait Implementations§
Source§impl Clone for CheckSuppression
impl Clone for CheckSuppression
Source§fn clone(&self) -> CheckSuppression
fn clone(&self) -> CheckSuppression
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 moreAuto Trait Implementations§
impl Freeze for CheckSuppression
impl RefUnwindSafe for CheckSuppression
impl Send for CheckSuppression
impl Sync for CheckSuppression
impl Unpin for CheckSuppression
impl UnsafeUnpin for CheckSuppression
impl UnwindSafe for CheckSuppression
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