pub struct DeleteOpts<'a> {
pub root: Option<&'a str>,
pub job_id: Option<&'a str>,
pub all: bool,
pub dry_run: bool,
}Expand description
Options for the delete sub-command.
Fields§
§root: Option<&'a str>§job_id: Option<&'a str>When Some, delete a single job by ID. Mutually exclusive with all.
all: boolWhen true, delete all terminal jobs scoped to the caller’s cwd.
dry_run: boolWhen true, report candidates without removing any directories.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DeleteOpts<'a>
impl<'a> RefUnwindSafe for DeleteOpts<'a>
impl<'a> Send for DeleteOpts<'a>
impl<'a> Sync for DeleteOpts<'a>
impl<'a> Unpin for DeleteOpts<'a>
impl<'a> UnsafeUnpin for DeleteOpts<'a>
impl<'a> UnwindSafe for DeleteOpts<'a>
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