Enum rustis::commands::FtVectorFieldAlgorithm
source · pub enum FtVectorFieldAlgorithm {
Flat(FtFlatVectorFieldAttributes),
HNSW(FtHnswVectorFieldAttributes),
}
Available on crate feature
redis-search
only.Variants§
Flat(FtFlatVectorFieldAttributes)
Brute force algorithm.
HNSW(FtHnswVectorFieldAttributes)
Hierarchical Navigable Small World algorithm.
Trait Implementations§
source§impl Clone for FtVectorFieldAlgorithm
impl Clone for FtVectorFieldAlgorithm
source§fn clone(&self) -> FtVectorFieldAlgorithm
fn clone(&self) -> FtVectorFieldAlgorithm
Returns a copy 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 FtVectorFieldAlgorithm
impl Debug for FtVectorFieldAlgorithm
source§impl ToArgs for FtVectorFieldAlgorithm
impl ToArgs for FtVectorFieldAlgorithm
source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
Auto Trait Implementations§
impl Freeze for FtVectorFieldAlgorithm
impl RefUnwindSafe for FtVectorFieldAlgorithm
impl Send for FtVectorFieldAlgorithm
impl Sync for FtVectorFieldAlgorithm
impl Unpin for FtVectorFieldAlgorithm
impl UnwindSafe for FtVectorFieldAlgorithm
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