Struct ToolCallSnapshot
pub struct ToolCallSnapshot {
pub id: String,
pub name: String,
pub arguments_json: String,
}Expand description
A tool call the model emitted, captured for gen_ai.output.messages.
arguments_json is the raw JSON arguments string, credential-scrubbed.
Fields§
§id: String§name: String§arguments_json: StringTrait Implementations§
Source§impl Clone for ToolCallSnapshot
impl Clone for ToolCallSnapshot
Source§fn clone(&self) -> ToolCallSnapshot
fn clone(&self) -> ToolCallSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §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 ToolCallSnapshot
impl RefUnwindSafe for ToolCallSnapshot
impl Send for ToolCallSnapshot
impl Sync for ToolCallSnapshot
impl Unpin for ToolCallSnapshot
impl UnsafeUnpin for ToolCallSnapshot
impl UnwindSafe for ToolCallSnapshot
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