pub struct ToolCalls {
pub id: Option<String>,
pub calls: Vec<ToolCall>,
}Expand description
A transcript entry that records tool calls the model made.
Fields§
§id: Option<String>§calls: Vec<ToolCall>Implementations§
Trait Implementations§
Source§impl<'a> IntoIterator for &'a ToolCalls
impl<'a> IntoIterator for &'a ToolCalls
Source§impl IntoIterator for ToolCalls
impl IntoIterator for ToolCalls
impl StructuralPartialEq for ToolCalls
Auto Trait Implementations§
impl Freeze for ToolCalls
impl RefUnwindSafe for ToolCalls
impl Send for ToolCalls
impl Sync for ToolCalls
impl Unpin for ToolCalls
impl UnsafeUnpin for ToolCalls
impl UnwindSafe for ToolCalls
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