pub struct ProxyToolDef {
pub definition: ToolDefinition,
pub timeout_ms: u64,
}Expand description
代理工具定义(发送给 LLM)
Fields§
§definition: ToolDefinition§timeout_ms: u64Implementations§
Trait Implementations§
Source§impl Clone for ProxyToolDef
impl Clone for ProxyToolDef
Source§fn clone(&self) -> ProxyToolDef
fn clone(&self) -> ProxyToolDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProxyToolDef
impl Debug for ProxyToolDef
Source§impl<'de> Deserialize<'de> for ProxyToolDef
impl<'de> Deserialize<'de> for ProxyToolDef
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 ProxyToolDef
impl RefUnwindSafe for ProxyToolDef
impl Send for ProxyToolDef
impl Sync for ProxyToolDef
impl Unpin for ProxyToolDef
impl UnsafeUnpin for ProxyToolDef
impl UnwindSafe for ProxyToolDef
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