pub struct SuppressFileAction {
pub kind: SuppressFileKind,
pub auto_fixable: bool,
pub description: String,
pub comment: String,
}Expand description
File-wide suppression placed at the top of the source file.
Fields§
§kind: SuppressFileKindAction type identifier.
auto_fixable: boolAlways false for suppress actions.
description: StringHuman-readable description of the suppression.
comment: StringThe file-level comment to place at the top of the file (e.g.,
// fallow-ignore-file unused-file).
Trait Implementations§
Source§impl Clone for SuppressFileAction
impl Clone for SuppressFileAction
Source§impl Debug for SuppressFileAction
impl Debug for SuppressFileAction
Source§impl<'de> Deserialize<'de> for SuppressFileAction
impl<'de> Deserialize<'de> for SuppressFileAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SuppressFileAction
impl RefUnwindSafe for SuppressFileAction
impl Send for SuppressFileAction
impl Sync for SuppressFileAction
impl Unpin for SuppressFileAction
impl UnsafeUnpin for SuppressFileAction
impl UnwindSafe for SuppressFileAction
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