pub struct Fix {
pub description: String,
pub command: Option<String>,
}Expand description
A fix suggestion for an error.
Fields§
§description: StringDescription of what this fix does
command: Option<String>Command to run, if applicable
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fix
impl RefUnwindSafe for Fix
impl Send for Fix
impl Sync for Fix
impl Unpin for Fix
impl UnwindSafe for Fix
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