pub struct ToolCallReq {
pub base: AgentCallData,
pub computer: String,
pub tool_name: String,
pub params: Value,
pub timeout: i32,
}Expand description
工具调用请求
Fields§
§base: AgentCallData§computer: String§tool_name: String§params: Value§timeout: i32Trait Implementations§
Source§impl Clone for ToolCallReq
impl Clone for ToolCallReq
Source§fn clone(&self) -> ToolCallReq
fn clone(&self) -> ToolCallReq
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 ToolCallReq
impl Debug for ToolCallReq
Source§impl<'de> Deserialize<'de> for ToolCallReq
impl<'de> Deserialize<'de> for ToolCallReq
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 ToolCallReq
impl RefUnwindSafe for ToolCallReq
impl Send for ToolCallReq
impl Sync for ToolCallReq
impl Unpin for ToolCallReq
impl UnsafeUnpin for ToolCallReq
impl UnwindSafe for ToolCallReq
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