pub struct TranscriptSummary {
pub tool_invocations: Vec<ToolInvocation>,
pub total_tokens: Option<i64>,
pub duration_ms: Option<i64>,
pub final_text: Option<String>,
}Expand description
A transcript boiled down to the artifacts the pipeline needs.
Fields§
§tool_invocations: Vec<ToolInvocation>§total_tokens: Option<i64>Total token usage (input + output + cache creation/read), as reported by
the run’s terminal result event.
duration_ms: Option<i64>Wall-clock duration, as reported by the run’s terminal result event.
final_text: Option<String>Concatenated text blocks of the last assistant message.
Trait Implementations§
Source§impl Clone for TranscriptSummary
impl Clone for TranscriptSummary
Source§fn clone(&self) -> TranscriptSummary
fn clone(&self) -> TranscriptSummary
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 TranscriptSummary
impl Debug for TranscriptSummary
Source§impl<'de> Deserialize<'de> for TranscriptSummary
impl<'de> Deserialize<'de> for TranscriptSummary
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 TranscriptSummary
impl PartialEq for TranscriptSummary
Source§impl Serialize for TranscriptSummary
impl Serialize for TranscriptSummary
impl StructuralPartialEq for TranscriptSummary
Auto Trait Implementations§
impl Freeze for TranscriptSummary
impl RefUnwindSafe for TranscriptSummary
impl Send for TranscriptSummary
impl Sync for TranscriptSummary
impl Unpin for TranscriptSummary
impl UnsafeUnpin for TranscriptSummary
impl UnwindSafe for TranscriptSummary
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