pub struct SparseVectorDef {
pub name: String,
pub index: Option<Box<SparseIndexConfig>>,
pub modifier: Option<String>,
}Expand description
One named sparse vector definition of CREATE COLLECTION.
Fields§
§name: StringSparse vector name.
index: Option<Box<SparseIndexConfig>>Optional WITH SPARSE index settings.
modifier: Option<String>Optional index modifier, e.g. idf.
Trait Implementations§
Source§impl Clone for SparseVectorDef
impl Clone for SparseVectorDef
Source§fn clone(&self) -> SparseVectorDef
fn clone(&self) -> SparseVectorDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SparseVectorDef
impl Debug for SparseVectorDef
Source§impl PartialEq for SparseVectorDef
impl PartialEq for SparseVectorDef
impl StructuralPartialEq for SparseVectorDef
Auto Trait Implementations§
impl Freeze for SparseVectorDef
impl RefUnwindSafe for SparseVectorDef
impl Send for SparseVectorDef
impl Sync for SparseVectorDef
impl Unpin for SparseVectorDef
impl UnsafeUnpin for SparseVectorDef
impl UnwindSafe for SparseVectorDef
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