pub struct VectorSearchText {
pub selection: Selection,
pub collection: String,
pub field: String,
pub text: String,
pub k: NonZeroU32,
}Expand description
Text search (EW1): text is embedded by the service’s worker, outside any
lock, and the field’s embedded vectors searched with it under the field’s
declared metric. k is bounded by the page limit.
Fields§
§selection: Selection§collection: String§field: String§text: String§k: NonZeroU32Trait Implementations§
Source§impl Debug for VectorSearchText
impl Debug for VectorSearchText
Source§impl<'de> Deserialize<'de> for VectorSearchText
impl<'de> Deserialize<'de> for VectorSearchText
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 VectorSearchText
impl RefUnwindSafe for VectorSearchText
impl Send for VectorSearchText
impl Sync for VectorSearchText
impl Unpin for VectorSearchText
impl UnsafeUnpin for VectorSearchText
impl UnwindSafe for VectorSearchText
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.