pub struct InstanceResult {
pub map_index: i32,
pub state: TaskInstanceState,
pub outcome: Option<String>,
pub output: Option<Value>,
}Expand description
One instance of a mapped task, as its downstream tasks see it.
Fields§
§map_index: i32Its place, from 0.
state: TaskInstanceStateIts state.
outcome: Option<String>Its outcome, once it succeeded.
output: Option<Value>Its output (stored JSON), once it succeeded.
Trait Implementations§
Source§impl Clone for InstanceResult
impl Clone for InstanceResult
Source§fn clone(&self) -> InstanceResult
fn clone(&self) -> InstanceResult
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 InstanceResult
impl Debug for InstanceResult
Source§impl PartialEq for InstanceResult
impl PartialEq for InstanceResult
impl StructuralPartialEq for InstanceResult
Auto Trait Implementations§
impl Freeze for InstanceResult
impl RefUnwindSafe for InstanceResult
impl Send for InstanceResult
impl Sync for InstanceResult
impl Unpin for InstanceResult
impl UnsafeUnpin for InstanceResult
impl UnwindSafe for InstanceResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more