pub struct ToolCallEvent {
pub tool_call_id: String,
pub name: String,
pub arguments: String,
pub step: usize,
}Expand description
Tool call event
Fields§
§tool_call_id: String§name: String§arguments: String§step: usizeImplementations§
Trait Implementations§
Source§impl Clone for ToolCallEvent
impl Clone for ToolCallEvent
Source§fn clone(&self) -> ToolCallEvent
fn clone(&self) -> ToolCallEvent
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 ToolCallEvent
impl Debug for ToolCallEvent
Source§impl<'de> Deserialize<'de> for ToolCallEvent
impl<'de> Deserialize<'de> for ToolCallEvent
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 ToolCallEvent
impl RefUnwindSafe for ToolCallEvent
impl Send for ToolCallEvent
impl Sync for ToolCallEvent
impl Unpin for ToolCallEvent
impl UnsafeUnpin for ToolCallEvent
impl UnwindSafe for ToolCallEvent
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