pub struct VectorFieldPaths {
pub collection: Vec<String>,
pub namespace: Vec<String>,
pub operation: Vec<String>,
pub top_k: Vec<String>,
}Expand description
Configurable JSON field paths for the argument extractor.
Fields§
§collection: Vec<String>Keys scanned in order for the collection/index name.
namespace: Vec<String>Keys scanned in order for the namespace.
operation: Vec<String>Keys scanned in order for the operation verb.
top_k: Vec<String>Keys scanned in order for the top-k value.
Trait Implementations§
Source§impl Clone for VectorFieldPaths
impl Clone for VectorFieldPaths
Source§fn clone(&self) -> VectorFieldPaths
fn clone(&self) -> VectorFieldPaths
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 VectorFieldPaths
impl Debug for VectorFieldPaths
Source§impl Default for VectorFieldPaths
impl Default for VectorFieldPaths
Source§impl<'de> Deserialize<'de> for VectorFieldPaths
impl<'de> Deserialize<'de> for VectorFieldPaths
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 VectorFieldPaths
impl RefUnwindSafe for VectorFieldPaths
impl Send for VectorFieldPaths
impl Sync for VectorFieldPaths
impl Unpin for VectorFieldPaths
impl UnsafeUnpin for VectorFieldPaths
impl UnwindSafe for VectorFieldPaths
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