pub struct WorkflowContext {
pub step_index: usize,
}Expand description
Metadata stored in each task for workflow processing
Fields§
§step_index: usizeIndex of the step in the workflow
Trait Implementations§
Source§impl Clone for WorkflowContext
impl Clone for WorkflowContext
Source§impl Debug for WorkflowContext
impl Debug for WorkflowContext
Source§impl Default for WorkflowContext
impl Default for WorkflowContext
Source§impl<'de> Deserialize<'de> for WorkflowContext
impl<'de> Deserialize<'de> for WorkflowContext
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 Metadata for WorkflowContext
impl Metadata for WorkflowContext
Source§type Error = WorkflowContextError
type Error = WorkflowContextError
The error produced when extracting the Metadata
Source§fn inject(&self, map: &mut MetadataStore) -> Result<(), WorkflowContextError>
fn inject(&self, map: &mut MetadataStore) -> Result<(), WorkflowContextError>
Inject
Self into the storeAuto Trait Implementations§
impl Freeze for WorkflowContext
impl RefUnwindSafe for WorkflowContext
impl Send for WorkflowContext
impl Sync for WorkflowContext
impl Unpin for WorkflowContext
impl UnsafeUnpin for WorkflowContext
impl UnwindSafe for WorkflowContext
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