pub struct RunArgs {
pub id: Option<String>,
pub jobs: u32,
pub dry_run: bool,
pub loop_mode: bool,
pub auto_plan: bool,
pub keep_going: bool,
pub timeout: u32,
pub idle_timeout: u32,
pub json_stream: bool,
pub review: bool,
}Expand description
Arguments for cmd_run, matching the CLI definition.
Fields§
§id: Option<String>§jobs: u32§dry_run: bool§loop_mode: bool§auto_plan: bool§keep_going: bool§timeout: u32§idle_timeout: u32§json_stream: bool§review: boolIf true, run adversarial review after each successful unit close.
Auto Trait Implementations§
impl Freeze for RunArgs
impl RefUnwindSafe for RunArgs
impl Send for RunArgs
impl Sync for RunArgs
impl Unpin for RunArgs
impl UnsafeUnpin for RunArgs
impl UnwindSafe for RunArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more