pub struct BatchSpec {
pub mode: BatchMode,
pub stop_on_error: bool,
pub max_parallel: Option<usize>,
pub timeout_ms: Option<u64>,
pub save: Option<String>,
pub actions: Vec<ActionSpec>,
}Expand description
Parsed batch specification.
Fields§
§mode: BatchMode§stop_on_error: boolStop starting new actions after the first failure (default true). In-flight actions still finish; unstarted ones are logged as skipped.
max_parallel: Option<usize>Maximum number of concurrently running actions (default unlimited).
timeout_ms: Option<u64>Default per-action timeout in milliseconds.
save: Option<String>Write the run report as pretty JSON to this file path.
actions: Vec<ActionSpec>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BatchSpec
impl<'de> Deserialize<'de> for BatchSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BatchSpec
impl RefUnwindSafe for BatchSpec
impl Send for BatchSpec
impl Sync for BatchSpec
impl Unpin for BatchSpec
impl UnsafeUnpin for BatchSpec
impl UnwindSafe for BatchSpec
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