pub struct ResultContext {
pub invocation_id: InvocationId,
pub task_id: TaskId,
pub result: Value,
pub arguments: BTreeMap<String, String>,
}Expand description
Context for a successful task result.
Fields§
§invocation_id: InvocationId§task_id: TaskId§result: ValueThe task result as a JSON value.
arguments: BTreeMap<String, String>Serialized invocation arguments (kwargs as key→JSON-string).
Trait Implementations§
Source§impl Clone for ResultContext
impl Clone for ResultContext
Source§fn clone(&self) -> ResultContext
fn clone(&self) -> ResultContext
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 Debug for ResultContext
impl Debug for ResultContext
Source§impl<'de> Deserialize<'de> for ResultContext
impl<'de> Deserialize<'de> for ResultContext
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 ResultContext
impl RefUnwindSafe for ResultContext
impl Send for ResultContext
impl Sync for ResultContext
impl Unpin for ResultContext
impl UnsafeUnpin for ResultContext
impl UnwindSafe for ResultContext
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