pub struct ToolCallStarted {
pub run_id: RunId,
pub call_id: String,
pub tool_name: String,
pub timestamp: DateTime<Utc>,
}Expand description
Emitted when the model requests a tool call.
Fields§
§run_id: RunIdRun identifier.
call_id: StringTool call ID.
tool_name: StringTool name.
timestamp: DateTime<Utc>When the tool call started.
Trait Implementations§
Source§impl Clone for ToolCallStarted
impl Clone for ToolCallStarted
Source§fn clone(&self) -> ToolCallStarted
fn clone(&self) -> ToolCallStarted
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 moreSource§impl Debug for ToolCallStarted
impl Debug for ToolCallStarted
Source§impl<'de> Deserialize<'de> for ToolCallStarted
impl<'de> Deserialize<'de> for ToolCallStarted
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolCallStarted, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolCallStarted, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ToolCallStarted
impl Serialize for ToolCallStarted
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ToolCallStarted
impl RefUnwindSafe for ToolCallStarted
impl Send for ToolCallStarted
impl Sync for ToolCallStarted
impl Unpin for ToolCallStarted
impl UnsafeUnpin for ToolCallStarted
impl UnwindSafe for ToolCallStarted
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