pub struct RunOptions<'a> {
pub validate: bool,
pub reconcile: bool,
pub resume: bool,
pub force: bool,
pub params: Option<&'a HashMap<String, String>>,
}Expand description
Per-run configuration flags passed from the CLI to the pipeline.
Replaces the previous pattern of threading 4+ positional bool arguments
through run, run_export_job, and child-process invocations. Named fields
prevent silent argument transposition (e.g., validate and reconcile
swapped).
Fields§
§validate: bool§reconcile: bool§resume: bool§force: boolOverride safety gates that would otherwise refuse to start the run.
Currently used by ADR-0012 M8 — --resume against a prefix whose
_SUCCESS marker is present is refused unless --force is given,
so an operator cannot accidentally re-export over a verified
dataset. Other gates may share the same flag in the future
(per ADR-0013: one --force, scoped to whichever gate it overrides).
params: Option<&'a HashMap<String, String>>Trait Implementations§
Source§impl<'a> Clone for RunOptions<'a>
impl<'a> Clone for RunOptions<'a>
Source§fn clone(&self) -> RunOptions<'a>
fn clone(&self) -> RunOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for RunOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for RunOptions<'a>
impl<'a> RefUnwindSafe for RunOptions<'a>
impl<'a> Send for RunOptions<'a>
impl<'a> Sync for RunOptions<'a>
impl<'a> Unpin for RunOptions<'a>
impl<'a> UnsafeUnpin for RunOptions<'a>
impl<'a> UnwindSafe for RunOptions<'a>
Blanket Implementations§
impl<T> Allocation for T
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