pub struct StartOpts<'a> {
pub job_id: &'a str,
pub root: Option<&'a str>,
pub wait: bool,
pub until_seconds: u64,
pub forever: bool,
pub max_bytes: u64,
}Expand description
Options for the start sub-command.
Fields§
§job_id: &'a strJob ID of a previously created job.
root: Option<&'a str>Override for jobs root directory.
wait: boolWait for inline output observation before returning.
until_seconds: u64Maximum wait duration in seconds for inline observation.
forever: boolWait indefinitely for terminal state / observation budget.
max_bytes: u64Maximum bytes to include from the head of each stream.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StartOpts<'a>
impl<'a> RefUnwindSafe for StartOpts<'a>
impl<'a> Send for StartOpts<'a>
impl<'a> Sync for StartOpts<'a>
impl<'a> Unpin for StartOpts<'a>
impl<'a> UnsafeUnpin for StartOpts<'a>
impl<'a> UnwindSafe for StartOpts<'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