pub struct CallableToolInfo<S = RandomState> {
pub tools: Vec<Tool>,
pub function_map: HashMap<String, usize, S>,
}Expand description
callable tools 解析结果。
Fields§
§tools: Vec<Tool>§function_map: HashMap<String, usize, S>Auto Trait Implementations§
impl<S> Freeze for CallableToolInfo<S>where
S: Freeze,
impl<S> RefUnwindSafe for CallableToolInfo<S>where
S: RefUnwindSafe,
impl<S> Send for CallableToolInfo<S>where
S: Send,
impl<S> Sync for CallableToolInfo<S>where
S: Sync,
impl<S> Unpin for CallableToolInfo<S>where
S: Unpin,
impl<S> UnsafeUnpin for CallableToolInfo<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for CallableToolInfo<S>where
S: 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