pub struct StepResult<Res, IdType> {
pub result: Res,
pub next_task_id: Option<TaskId<IdType>>,
}Expand description
Result information for workflow steps
Fields§
§result: ResResult produced by the step
next_task_id: Option<TaskId<IdType>>Optional ID of the next task to execute
Trait Implementations§
Source§impl<Res: Clone, IdType: Clone> Clone for StepResult<Res, IdType>
impl<Res: Clone, IdType: Clone> Clone for StepResult<Res, IdType>
Source§fn clone(&self) -> StepResult<Res, IdType>
fn clone(&self) -> StepResult<Res, IdType>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Res: Default, IdType: Default> Default for StepResult<Res, IdType>
impl<Res: Default, IdType: Default> Default for StepResult<Res, IdType>
Source§fn default() -> StepResult<Res, IdType>
fn default() -> StepResult<Res, IdType>
Returns the “default value” for a type. Read more
Source§impl<'de, Res, IdType> Deserialize<'de> for StepResult<Res, IdType>where
Res: Deserialize<'de>,
IdType: Deserialize<'de>,
impl<'de, Res, IdType> Deserialize<'de> for StepResult<Res, IdType>where
Res: Deserialize<'de>,
IdType: Deserialize<'de>,
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<Res, IdType> Freeze for StepResult<Res, IdType>
impl<Res, IdType> RefUnwindSafe for StepResult<Res, IdType>where
Res: RefUnwindSafe,
IdType: RefUnwindSafe,
impl<Res, IdType> Send for StepResult<Res, IdType>
impl<Res, IdType> Sync for StepResult<Res, IdType>
impl<Res, IdType> Unpin for StepResult<Res, IdType>
impl<Res, IdType> UnwindSafe for StepResult<Res, IdType>where
Res: UnwindSafe,
IdType: UnwindSafe,
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