pub struct ToolCallInfo {
pub name: String,
pub args: Value,
pub result: Option<Value>,
pub error: Option<String>,
pub execution_time_ms: Option<u64>,
}Expand description
Tool call information
Fields§
§name: String§args: Value§result: Option<Value>§error: Option<String>§execution_time_ms: Option<u64>Trait Implementations§
Source§impl Clone for ToolCallInfo
impl Clone for ToolCallInfo
Source§fn clone(&self) -> ToolCallInfo
fn clone(&self) -> ToolCallInfo
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 ToolCallInfo
impl Debug for ToolCallInfo
Source§impl<'de> Deserialize<'de> for ToolCallInfo
impl<'de> Deserialize<'de> for ToolCallInfo
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 ToolCallInfo
impl RefUnwindSafe for ToolCallInfo
impl Send for ToolCallInfo
impl Sync for ToolCallInfo
impl Unpin for ToolCallInfo
impl UnwindSafe for ToolCallInfo
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