pub struct Leftover {
pub id: &'static str,
pub file: String,
pub line: Option<usize>,
pub text: Option<String>,
pub action: Action,
pub reason: &'static str,
}Expand description
One artifact of a predecessor mechanism.
Fields§
§id: &'static strThe catalog entry: bump-script, autobump-script, bump-suite,
autobump-suite, envrc-invocation, envrc-switch,
just-recipe, devshell-tooling, or host-install.
file: StringThe file, relative to the target.
line: Option<usize>The one-based line, for a line entry.
text: Option<String>The matched line, trimmed, for a line entry.
action: ActionWhat the cleanup does with it.
reason: &'static strWhy that action, one phrase.
Trait Implementations§
impl Eq for Leftover
impl StructuralPartialEq for Leftover
Auto Trait Implementations§
impl Freeze for Leftover
impl RefUnwindSafe for Leftover
impl Send for Leftover
impl Sync for Leftover
impl Unpin for Leftover
impl UnsafeUnpin for Leftover
impl UnwindSafe for Leftover
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