pub struct ToolOutput {
pub id: String,
pub tool_name: String,
pub tool_call_id: Option<String>,
pub segments: Vec<Segment>,
}Expand description
A tool output transcript entry.
Fields§
§id: String§tool_name: String§tool_call_id: Option<String>§segments: Vec<Segment>Implementations§
Trait Implementations§
Source§impl Clone for ToolOutput
impl Clone for ToolOutput
Source§fn clone(&self) -> ToolOutput
fn clone(&self) -> ToolOutput
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 ToolOutput
impl Debug for ToolOutput
Source§impl PartialEq for ToolOutput
impl PartialEq for ToolOutput
Source§fn eq(&self, other: &ToolOutput) -> bool
fn eq(&self, other: &ToolOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolOutput
Auto Trait Implementations§
impl Freeze for ToolOutput
impl RefUnwindSafe for ToolOutput
impl Send for ToolOutput
impl Sync for ToolOutput
impl Unpin for ToolOutput
impl UnsafeUnpin for ToolOutput
impl UnwindSafe for ToolOutput
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