pub enum ExecutionResult {
Owner(ValidatedResult),
Runtime(RuntimeResult),
}Expand description
Agent and Human results retain opaque owner fields. Runtime metadata is parsed once when a saved record enters the core, including reduced remote records.
Variants§
Owner(ValidatedResult)
Runtime(RuntimeResult)
Implementations§
Trait Implementations§
Source§impl AsRef<ExecutionResult> for GreenResult
impl AsRef<ExecutionResult> for GreenResult
Source§fn as_ref(&self) -> &ExecutionResult
fn as_ref(&self) -> &ExecutionResult
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ExecutionResult
impl Clone for ExecutionResult
Source§impl Debug for ExecutionResult
impl Debug for ExecutionResult
Source§impl<'de> Deserialize<'de> for ExecutionResult
impl<'de> Deserialize<'de> for ExecutionResult
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<GreenResult> for ExecutionResult
impl From<GreenResult> for ExecutionResult
Source§fn from(result: GreenResult) -> Self
fn from(result: GreenResult) -> Self
Converts to this type from the input type.
Source§impl From<ValidatedResult> for ExecutionResult
impl From<ValidatedResult> for ExecutionResult
Source§fn from(result: ValidatedResult) -> Self
fn from(result: ValidatedResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExecutionResult
impl PartialEq for ExecutionResult
Source§impl Serialize for ExecutionResult
impl Serialize for ExecutionResult
impl StructuralPartialEq for ExecutionResult
Source§impl TryFrom<ExecutionResult> for GreenResult
impl TryFrom<ExecutionResult> for GreenResult
Auto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnsafeUnpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.