pub struct StartOpts<'a> {
pub job_id: &'a str,
pub root: Option<&'a str>,
pub no_auto_gc: bool,
pub auto_gc_older_than: Option<String>,
pub auto_gc_max_jobs: Option<u64>,
pub auto_gc_max_bytes: Option<u64>,
pub auto_gc_config: AutoGcConfig,
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.
no_auto_gc: boolDisable best-effort auto-GC for this invocation.
auto_gc_older_than: Option<String>Optional auto-GC retention override.
auto_gc_max_jobs: Option<u64>Optional auto-GC max-jobs override.
auto_gc_max_bytes: Option<u64>Optional auto-GC max-bytes override.
auto_gc_config: AutoGcConfigBase auto-GC settings resolved from config/defaults.
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