pub struct ToolCallOutput {
pub id: String,
pub name: String,
pub arguments: String,
}Expand description
A single tool/function call made by the model during a turn.
Fields§
§id: String§name: String§arguments: StringRaw JSON string of the arguments object.
Trait Implementations§
Source§impl Clone for ToolCallOutput
impl Clone for ToolCallOutput
Source§fn clone(&self) -> ToolCallOutput
fn clone(&self) -> ToolCallOutput
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 moreAuto Trait Implementations§
impl Freeze for ToolCallOutput
impl RefUnwindSafe for ToolCallOutput
impl Send for ToolCallOutput
impl Sync for ToolCallOutput
impl Unpin for ToolCallOutput
impl UnsafeUnpin for ToolCallOutput
impl UnwindSafe for ToolCallOutput
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