pub struct SkippedFix {
pub rule: LintRuleId,
pub file: LintFile,
pub reason: String,
}Expand description
A fixable drift that was detected but deliberately not applied, because the safety guard rejected the edit (or it could not be rendered).
Fields§
§rule: LintRuleIdThe rule whose drift was left in place.
file: LintFileThe file the drift lives in.
reason: StringWhy the fix was not applied.
Trait Implementations§
Source§impl Clone for SkippedFix
impl Clone for SkippedFix
Source§fn clone(&self) -> SkippedFix
fn clone(&self) -> SkippedFix
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 SkippedFix
impl Debug for SkippedFix
Source§impl PartialEq for SkippedFix
impl PartialEq for SkippedFix
Source§impl Serialize for SkippedFix
impl Serialize for SkippedFix
impl StructuralPartialEq for SkippedFix
Auto Trait Implementations§
impl Freeze for SkippedFix
impl RefUnwindSafe for SkippedFix
impl Send for SkippedFix
impl Sync for SkippedFix
impl Unpin for SkippedFix
impl UnsafeUnpin for SkippedFix
impl UnwindSafe for SkippedFix
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