pub struct VectorCall {
pub collection: String,
pub namespace: Option<String>,
pub operation: Option<String>,
pub top_k: Option<u64>,
}Expand description
The parsed view of a vector-database tool call.
Fields§
§collection: StringNormalised collection name (lowercased).
namespace: Option<String>Optional namespace string from the arguments.
operation: Option<String>Optional operation verb from the arguments.
top_k: Option<u64>Optional top_k ceiling from the arguments.
Trait Implementations§
Source§impl Clone for VectorCall
impl Clone for VectorCall
Source§fn clone(&self) -> VectorCall
fn clone(&self) -> VectorCall
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 VectorCall
impl Debug for VectorCall
Source§impl PartialEq for VectorCall
impl PartialEq for VectorCall
impl Eq for VectorCall
impl StructuralPartialEq for VectorCall
Auto Trait Implementations§
impl Freeze for VectorCall
impl RefUnwindSafe for VectorCall
impl Send for VectorCall
impl Sync for VectorCall
impl Unpin for VectorCall
impl UnsafeUnpin for VectorCall
impl UnwindSafe for VectorCall
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.