pub struct ToolEmbedding {
pub tool_id: String,
pub embedding: Vec<f32>,
}Expand description
Cached embedding for a tool definition.
Fields§
§tool_id: String§embedding: Vec<f32>Trait Implementations§
Source§impl Clone for ToolEmbedding
impl Clone for ToolEmbedding
Source§fn clone(&self) -> ToolEmbedding
fn clone(&self) -> ToolEmbedding
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 moreAuto Trait Implementations§
impl Freeze for ToolEmbedding
impl RefUnwindSafe for ToolEmbedding
impl Send for ToolEmbedding
impl Sync for ToolEmbedding
impl Unpin for ToolEmbedding
impl UnsafeUnpin for ToolEmbedding
impl UnwindSafe for ToolEmbedding
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