pub struct ListOpts<'a> {
pub root: Option<&'a str>,
pub limit: u64,
pub state: Option<&'a str>,
pub cwd: Option<&'a str>,
pub all: bool,
}Expand description
Options for the list sub-command.
Fields§
§root: Option<&'a str>§limit: u64Maximum number of jobs to return; 0 = no limit.
state: Option<&'a str>Optional state filter: running|exited|killed|failed|unknown.
cwd: Option<&'a str>Optional cwd filter: show only jobs created from this directory.
Conflicts with all.
all: boolWhen true, disable cwd filtering and show all jobs.
Conflicts with cwd.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ListOpts<'a>
impl<'a> RefUnwindSafe for ListOpts<'a>
impl<'a> Send for ListOpts<'a>
impl<'a> Sync for ListOpts<'a>
impl<'a> Unpin for ListOpts<'a>
impl<'a> UnsafeUnpin for ListOpts<'a>
impl<'a> UnwindSafe for ListOpts<'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