pub struct StepInvocation {
pub run_id: String,
pub step_id: String,
pub step_name: String,
pub input: JsonValue,
pub history: Vec<FlowEventEnvelope>,
}Expand description
Step execution request passed to a runtime implementation.
Fields§
§run_id: String§step_id: String§step_name: String§input: JsonValue§history: Vec<FlowEventEnvelope>Implementations§
Source§impl StepInvocation
impl StepInvocation
Sourcepub fn input_as<T>(&self) -> Result<T>where
T: DeserializeOwned,
pub fn input_as<T>(&self) -> Result<T>where
T: DeserializeOwned,
Decode the step input into a host-defined serde type.
Trait Implementations§
Source§impl Clone for StepInvocation
impl Clone for StepInvocation
Source§fn clone(&self) -> StepInvocation
fn clone(&self) -> StepInvocation
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 StepInvocation
impl Debug for StepInvocation
Source§impl<'de> Deserialize<'de> for StepInvocation
impl<'de> Deserialize<'de> for StepInvocation
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 StepInvocation
impl RefUnwindSafe for StepInvocation
impl Send for StepInvocation
impl Sync for StepInvocation
impl Unpin for StepInvocation
impl UnsafeUnpin for StepInvocation
impl UnwindSafe for StepInvocation
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