pub struct WorkflowChildCommand {
pub kind: WorkflowChildKind,
pub key: String,
pub program: ProgramRef,
pub queue: String,
pub data: Value,
pub retry_policy: RetryPolicy,
pub attempt_timeout_ms: u64,
}Fields§
§kind: WorkflowChildKind§key: String§program: ProgramRef§queue: String§data: Value§retry_policy: RetryPolicy§attempt_timeout_ms: u64Implementations§
Source§impl WorkflowChildCommand
impl WorkflowChildCommand
pub fn submission( &self, scope: &Scope, correlation_key: Option<String>, ) -> SubmitTask
pub fn validate(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for WorkflowChildCommand
impl Clone for WorkflowChildCommand
Source§impl Debug for WorkflowChildCommand
impl Debug for WorkflowChildCommand
Source§impl<'de> Deserialize<'de> for WorkflowChildCommand
impl<'de> Deserialize<'de> for WorkflowChildCommand
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 WorkflowChildCommand
impl RefUnwindSafe for WorkflowChildCommand
impl Send for WorkflowChildCommand
impl Sync for WorkflowChildCommand
impl Unpin for WorkflowChildCommand
impl UnsafeUnpin for WorkflowChildCommand
impl UnwindSafe for WorkflowChildCommand
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