pub struct StepCommand {
pub step_id: String,
pub step_name: String,
pub input: JsonValue,
pub retry: RetryPolicy,
}Expand description
Step definition returned by workflow replay.
Fields§
§step_id: String§step_name: String§input: JsonValue§retry: RetryPolicyImplementations§
Source§impl StepCommand
impl StepCommand
pub fn new( step_id: impl Into<String>, step_name: impl Into<String>, input: JsonValue, ) -> Self
pub fn with_retry(self, retry: RetryPolicy) -> Self
Trait Implementations§
Source§impl Clone for StepCommand
impl Clone for StepCommand
Source§fn clone(&self) -> StepCommand
fn clone(&self) -> StepCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StepCommand
impl Debug for StepCommand
Source§impl<'de> Deserialize<'de> for StepCommand
impl<'de> Deserialize<'de> for StepCommand
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
Source§impl PartialEq for StepCommand
impl PartialEq for StepCommand
Source§fn eq(&self, other: &StepCommand) -> bool
fn eq(&self, other: &StepCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StepCommand
impl Serialize for StepCommand
impl StructuralPartialEq for StepCommand
Auto Trait Implementations§
impl Freeze for StepCommand
impl RefUnwindSafe for StepCommand
impl Send for StepCommand
impl Sync for StepCommand
impl Unpin for StepCommand
impl UnsafeUnpin for StepCommand
impl UnwindSafe for StepCommand
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