pub struct SubtaskOutput {
pub subtask_id: String,
pub value: Value,
pub next_state: Option<Value>,
}Expand description
Output from a subtask execution
Fields§
§subtask_id: StringThe subtask ID this output is for
value: ValueThe output value
next_state: Option<Value>Optional next state (for stateful subtasks)
Implementations§
Trait Implementations§
Source§impl Clone for SubtaskOutput
impl Clone for SubtaskOutput
Source§fn clone(&self) -> SubtaskOutput
fn clone(&self) -> SubtaskOutput
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 SubtaskOutput
impl Debug for SubtaskOutput
Source§impl<'de> Deserialize<'de> for SubtaskOutput
impl<'de> Deserialize<'de> for SubtaskOutput
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 Hash for SubtaskOutput
impl Hash for SubtaskOutput
Source§impl PartialEq for SubtaskOutput
impl PartialEq for SubtaskOutput
Source§fn eq(&self, other: &SubtaskOutput) -> bool
fn eq(&self, other: &SubtaskOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubtaskOutput
impl Serialize for SubtaskOutput
impl Eq for SubtaskOutput
impl StructuralPartialEq for SubtaskOutput
Auto Trait Implementations§
impl Freeze for SubtaskOutput
impl RefUnwindSafe for SubtaskOutput
impl Send for SubtaskOutput
impl Sync for SubtaskOutput
impl Unpin for SubtaskOutput
impl UnsafeUnpin for SubtaskOutput
impl UnwindSafe for SubtaskOutput
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