pub struct AiFixResult {
pub suggested: usize,
pub applied: usize,
pub skipped: usize,
pub errors: usize,
pub quit_early: bool,
pub modified_files: HashSet<PathBuf>,
}Expand description
Result of an AI fix operation
Fields§
§suggested: usizeNumber of issues with suggestions generated
applied: usizeNumber of suggestions applied
skipped: usizeNumber of issues skipped
errors: usizeNumber of errors encountered
quit_early: boolWhether user quit early
modified_files: HashSet<PathBuf>Set of files that were modified
Trait Implementations§
Source§impl Debug for AiFixResult
impl Debug for AiFixResult
Source§impl Default for AiFixResult
impl Default for AiFixResult
Source§fn default() -> AiFixResult
fn default() -> AiFixResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AiFixResult
impl RefUnwindSafe for AiFixResult
impl Send for AiFixResult
impl Sync for AiFixResult
impl Unpin for AiFixResult
impl UnsafeUnpin for AiFixResult
impl UnwindSafe for AiFixResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more