pub struct ToolCall {
pub id: String,
pub name: String,
pub arguments: String,
}Expand description
A tool call requested by the LLM.
Fields§
§id: String§name: String§arguments: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ToolCall
impl<'de> Deserialize<'de> for ToolCall
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
impl Eq for ToolCall
impl StructuralPartialEq for ToolCall
Auto Trait Implementations§
impl Forget for ToolCall
impl Freeze for ToolCall
impl Move for ToolCall
impl RefUnwindSafe for ToolCall
impl Send for ToolCallwhere
RawVecInner: Send,
impl Sync for ToolCallwhere
RawVecInner: Sync,
impl Unpin for ToolCall
impl UnsafeUnpin for ToolCall
impl UnwindSafe for ToolCallwhere
RawVecInner: UnwindSafe,
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