pub struct AppliedFix {
pub rule: LintRuleId,
pub file: LintFile,
pub description: String,
}Expand description
A fix that was applied to a source file.
Fields§
§rule: LintRuleIdThe rule whose drift was fixed.
file: LintFileThe file that was edited.
description: StringShort human-readable description of the edit.
Trait Implementations§
Source§impl Clone for AppliedFix
impl Clone for AppliedFix
Source§fn clone(&self) -> AppliedFix
fn clone(&self) -> AppliedFix
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 AppliedFix
impl Debug for AppliedFix
Source§impl PartialEq for AppliedFix
impl PartialEq for AppliedFix
Source§impl Serialize for AppliedFix
impl Serialize for AppliedFix
impl StructuralPartialEq for AppliedFix
Auto Trait Implementations§
impl Freeze for AppliedFix
impl RefUnwindSafe for AppliedFix
impl Send for AppliedFix
impl Sync for AppliedFix
impl Unpin for AppliedFix
impl UnsafeUnpin for AppliedFix
impl UnwindSafe for AppliedFix
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