pub struct Candidate {
pub file: String,
pub fix: Fix,
pub rule_id: String,
pub line: u32,
}Expand description
A violation reduced to what fix-application needs. Mirrors
fixer.py::_Candidate.
Fields§
§file: String§fix: Fix§rule_id: String§line: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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