pub enum WorkflowAction {
Wait {
state: Value,
continuation: String,
commands: Vec<WorkflowChildCommand>,
wait: WorkflowWait,
},
Suspend {
state: Value,
continuation: String,
commands: Vec<WorkflowChildCommand>,
until: Vec<String>,
},
Continue {
state: Value,
continuation: String,
commands: Vec<WorkflowChildCommand>,
},
Complete {
output: Value,
},
Fail {
error: ApplicationError,
},
}Variants§
Wait
Suspend
Fields
§
commands: Vec<WorkflowChildCommand>Continue
Complete
Fail
Fields
§
error: ApplicationErrorTrait Implementations§
Source§impl Clone for WorkflowAction
impl Clone for WorkflowAction
Source§impl Debug for WorkflowAction
impl Debug for WorkflowAction
Source§impl<'de> Deserialize<'de> for WorkflowAction
impl<'de> Deserialize<'de> for WorkflowAction
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 WorkflowAction
impl RefUnwindSafe for WorkflowAction
impl Send for WorkflowAction
impl Sync for WorkflowAction
impl Unpin for WorkflowAction
impl UnsafeUnpin for WorkflowAction
impl UnwindSafe for WorkflowAction
Blanket Implementations§
impl<T> ArtifactLease 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