pub enum FixKind {
CargoConfig {
key_path: String,
value: String,
},
CargoToml {
section: String,
key: String,
value: String,
},
ShellCommand(String),
Manual(String),
}Expand description
The structured shape of a Fix, so consumers can act on it programmatically.
Variants§
CargoConfig
A key to add under .cargo/config.toml.
Fields
CargoToml
A key to add under a Cargo.toml section.
Fields
ShellCommand(String)
A shell command to run.
Manual(String)
A manual step described in prose.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixKind
impl RefUnwindSafe for FixKind
impl Send for FixKind
impl Sync for FixKind
impl Unpin for FixKind
impl UnsafeUnpin for FixKind
impl UnwindSafe for FixKind
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