pub struct ToolCallStartEvent {
pub base: BaseEvent,
pub tool_call_id: ToolCallId,
pub tool_call_name: String,
pub parent_message_id: Option<MessageId>,
}Expand description
Event indicating the start of a tool call. This event is sent when the agent begins to call a tool with specific parameters.
Fields§
§base: BaseEvent§tool_call_id: ToolCallId§tool_call_name: String§parent_message_id: Option<MessageId>Trait Implementations§
Source§impl Clone for ToolCallStartEvent
impl Clone for ToolCallStartEvent
Source§fn clone(&self) -> ToolCallStartEvent
fn clone(&self) -> ToolCallStartEvent
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 ToolCallStartEvent
impl Debug for ToolCallStartEvent
Source§impl<'de> Deserialize<'de> for ToolCallStartEvent
impl<'de> Deserialize<'de> for ToolCallStartEvent
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
Source§impl PartialEq for ToolCallStartEvent
impl PartialEq for ToolCallStartEvent
Source§impl Serialize for ToolCallStartEvent
impl Serialize for ToolCallStartEvent
impl StructuralPartialEq for ToolCallStartEvent
Auto Trait Implementations§
impl Freeze for ToolCallStartEvent
impl RefUnwindSafe for ToolCallStartEvent
impl Send for ToolCallStartEvent
impl Sync for ToolCallStartEvent
impl Unpin for ToolCallStartEvent
impl UnwindSafe for ToolCallStartEvent
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