pub struct ToolCallRecord {
pub id: String,
pub name: String,
pub arguments: Value,
pub result: Option<Value>,
pub timestamp: String,
}Expand description
Record of a tool call
Fields§
§id: StringUnique tool call ID
name: StringTool name
arguments: ValueTool arguments
result: Option<Value>Tool result (if completed)
timestamp: StringTimestamp
Trait Implementations§
Source§impl Clone for ToolCallRecord
impl Clone for ToolCallRecord
Source§fn clone(&self) -> ToolCallRecord
fn clone(&self) -> ToolCallRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolCallRecord
impl Debug for ToolCallRecord
Source§impl<'de> Deserialize<'de> for ToolCallRecord
impl<'de> Deserialize<'de> for ToolCallRecord
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
Auto Trait Implementations§
impl Freeze for ToolCallRecord
impl RefUnwindSafe for ToolCallRecord
impl Send for ToolCallRecord
impl Sync for ToolCallRecord
impl Unpin for ToolCallRecord
impl UnwindSafe for ToolCallRecord
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