pub struct TerminalResult {
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub formatted_output: Option<String>,
pub original_token_count: Option<usize>,
pub chunk_id: Option<String>,
}Expand description
Public reduced trace model returned by replay. Terminal result observed by the runtime.
This is debugger/runtime output. It is not proof that the model saw the same
bytes; link model-visible call/output items through TerminalModelObservation.
Fields§
§exit_code: Option<i32>Process exit code. None if the process is still running or no exit status was produced.
stdout: String§stderr: String§formatted_output: Option<String>Tool runtime’s formatted caller-facing output, when present.
original_token_count: Option<usize>Token count before truncation, when the tool runtime reported it.
chunk_id: Option<String>Streaming chunk ID, when this result was assembled from chunked terminal output.
Trait Implementations§
Source§impl Clone for TerminalResult
impl Clone for TerminalResult
Source§fn clone(&self) -> TerminalResult
fn clone(&self) -> TerminalResult
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 TerminalResult
impl Debug for TerminalResult
Source§impl<'de> Deserialize<'de> for TerminalResult
impl<'de> Deserialize<'de> for TerminalResult
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
impl Eq for TerminalResult
Source§impl PartialEq for TerminalResult
impl PartialEq for TerminalResult
Source§impl Serialize for TerminalResult
impl Serialize for TerminalResult
impl StructuralPartialEq for TerminalResult
Auto Trait Implementations§
impl Freeze for TerminalResult
impl RefUnwindSafe for TerminalResult
impl Send for TerminalResult
impl Sync for TerminalResult
impl Unpin for TerminalResult
impl UnsafeUnpin for TerminalResult
impl UnwindSafe for TerminalResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
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> 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