pub struct DecideStep {
pub expression_value: Value,
}Expand description
A decision step that returns an outcome value for routing.
Fields§
§expression_value: ValueExpression value.
Trait Implementations§
Source§impl Default for DecideStep
impl Default for DecideStep
Source§fn default() -> DecideStep
fn default() -> DecideStep
Returns the “default value” for a type. Read more
Source§impl StepBody for DecideStep
impl StepBody for DecideStep
Source§fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<ExecutionResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<ExecutionResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Execute the step. Read more
Source§fn mount_artifacts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn mount_artifacts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Mount any artifacts this step requires. Read more
Source§fn unmount_artifacts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn unmount_artifacts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Unmount and clean up artifacts. Read more
Auto Trait Implementations§
impl Freeze for DecideStep
impl RefUnwindSafe for DecideStep
impl Send for DecideStep
impl Sync for DecideStep
impl Unpin for DecideStep
impl UnsafeUnpin for DecideStep
impl UnwindSafe for DecideStep
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