Struct ToolExecutionOutcome
pub struct ToolExecutionOutcome {
pub output: String,
pub output_data: Option<Value>,
pub success: bool,
pub error_reason: Option<String>,
pub duration: Duration,
pub receipt: Option<String>,
}Fields§
§output: String§output_data: Option<Value>Structured output when the tool declared one (ToolOutput::data).
Feeds SOP step capture and data-flow surfaces; the LLM sees only
output.
success: bool§error_reason: Option<String>Raw failure text on the data path. Credential scrubbing is a rendering concern applied at each human-facing surface (observer events, post-execution log line, CLI progress), never stored pre-scrubbed here.
duration: Duration§receipt: Option<String>Cryptographic HMAC receipt proving this tool actually executed. Present only when tool receipts are enabled in config.
Auto Trait Implementations§
impl Freeze for ToolExecutionOutcome
impl RefUnwindSafe for ToolExecutionOutcome
impl Send for ToolExecutionOutcome
impl Sync for ToolExecutionOutcome
impl Unpin for ToolExecutionOutcome
impl UnsafeUnpin for ToolExecutionOutcome
impl UnwindSafe for ToolExecutionOutcome
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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