pub struct ToolCallParams {
pub name: String,
pub arguments: Value,
}
Expand description
Parameters for a tool call
Fields§
§name: String
§arguments: Value
Trait Implementations§
Source§impl Clone for ToolCallParams
impl Clone for ToolCallParams
Source§fn clone(&self) -> ToolCallParams
fn clone(&self) -> ToolCallParams
Returns a copy 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 ToolCallParams
impl Debug for ToolCallParams
Source§impl<'de> Deserialize<'de> for ToolCallParams
impl<'de> Deserialize<'de> for ToolCallParams
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 ToolCallParams
impl RefUnwindSafe for ToolCallParams
impl Send for ToolCallParams
impl Sync for ToolCallParams
impl Unpin for ToolCallParams
impl UnwindSafe for ToolCallParams
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