pub struct RunResponse {
pub outputs: Option<IndexMap<String, Value>>,
pub branch: Option<String>,
pub usage: Option<UsageData>,
pub metadata: Option<IndexMap<String, Value>>,
pub pause: Option<PauseData>,
pub error: Option<ErrorData>,
}Expand description
Guest result. Exactly one of outputs, pause or error is expected;
a response with error or pause set is treated as such even if outputs is present.
Fields§
§outputs: Option<IndexMap<String, Value>>§branch: Option<String>Selected handle for branching nodes.
usage: Option<UsageData>§metadata: Option<IndexMap<String, Value>>§pause: Option<PauseData>§error: Option<ErrorData>Trait Implementations§
Source§impl Clone for RunResponse
impl Clone for RunResponse
Source§impl Debug for RunResponse
impl Debug for RunResponse
Source§impl Default for RunResponse
impl Default for RunResponse
Source§impl<'de> Deserialize<'de> for RunResponse
impl<'de> Deserialize<'de> for RunResponse
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 PartialEq for RunResponse
impl PartialEq for RunResponse
Source§impl Serialize for RunResponse
impl Serialize for RunResponse
impl StructuralPartialEq for RunResponse
Auto Trait Implementations§
impl Forget for RunResponse
impl Freeze for RunResponse
impl Move for RunResponse
impl RefUnwindSafe for RunResponse
impl Send for RunResponse
impl Sync for RunResponse
impl Unpin for RunResponse
impl UnsafeUnpin for RunResponse
impl UnwindSafe for RunResponse
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