pub struct StepDef {Show 18 fields
pub name: String,
pub step_type: StepType,
pub run: Option<String>,
pub prompt: Option<String>,
pub condition: Option<String>,
pub on_pass: Option<String>,
pub on_fail: Option<String>,
pub message: Option<String>,
pub scope: Option<String>,
pub max_iterations: Option<usize>,
pub initial_value: Option<Value>,
pub items: Option<String>,
pub parallel: Option<usize>,
pub steps: Option<Vec<StepDef>>,
pub config: HashMap<String, Value>,
pub outputs: Option<String>,
pub output_type: Option<OutputType>,
pub async_exec: Option<bool>,
}Expand description
Individual step definition
Fields§
§name: String§step_type: StepType§run: Option<String>§prompt: Option<String>§condition: Option<String>§on_pass: Option<String>§on_fail: Option<String>§message: Option<String>§scope: Option<String>§max_iterations: Option<usize>§initial_value: Option<Value>§items: Option<String>§parallel: Option<usize>§steps: Option<Vec<StepDef>>§config: HashMap<String, Value>§outputs: Option<String>§output_type: Option<OutputType>§async_exec: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepDef
impl<'de> Deserialize<'de> for StepDef
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 StepDef
impl RefUnwindSafe for StepDef
impl Send for StepDef
impl Sync for StepDef
impl Unpin for StepDef
impl UnsafeUnpin for StepDef
impl UnwindSafe for StepDef
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