pub struct FixResult {
pub source: Vec<u8>,
pub applied: Vec<AppliedFix>,
pub remaining_diagnostics: Vec<Diagnostic>,
}Expand description
Result of a fix pass — modified source and audit trail.
Fields§
§source: Vec<u8>Fixed source bytes. Preserves UTF-8 validity: the input is UTF-8, and every
replacement is a valid UTF-8 String, so the result is always valid UTF-8.
applied: Vec<AppliedFix>Audit records for every fix that was applied.
remaining_diagnostics: Vec<Diagnostic>Diagnostics that could not be auto-fixed (below confidence threshold, or require human judgment).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixResult
impl RefUnwindSafe for FixResult
impl Send for FixResult
impl Sync for FixResult
impl Unpin for FixResult
impl UnsafeUnpin for FixResult
impl UnwindSafe for FixResult
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