pub struct StartOpts<'a> {
pub job_id: &'a str,
pub root: Option<&'a str>,
pub snapshot_after: u64,
pub tail_lines: u64,
pub max_bytes: u64,
pub wait: bool,
pub wait_poll_ms: 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.
snapshot_after: u64Milliseconds to wait before returning; 0 = return immediately.
tail_lines: u64Number of tail lines to include in snapshot.
max_bytes: u64Max bytes for tail.
wait: boolIf true, wait for the job to reach a terminal state before returning.
wait_poll_ms: u64Poll interval in milliseconds when wait is true.
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