pub struct RvfOptions {
pub dimension: u16,
pub metric: DistanceMetric,
pub profile: u8,
pub domain_profile: DomainProfile,
pub compression: CompressionProfile,
pub signing: bool,
pub m: u16,
pub ef_construction: u16,
}Expand description
Options for creating a new RVF store.
Fields§
§dimension: u16Vector dimensionality (required).
metric: DistanceMetricDistance metric for similarity search.
profile: u8Hardware profile identifier (0=Generic, 1=Core, 2=Hot, 3=Full).
domain_profile: DomainProfileDomain profile for the file (determines canonical extension).
compression: CompressionProfileCompression profile for stored vectors.
signing: boolWhether segment signing is enabled.
m: u16HNSW M parameter: max edges per node per layer.
ef_construction: u16HNSW ef_construction: beam width during index build.
Trait Implementations§
Source§impl Clone for RvfOptions
impl Clone for RvfOptions
Source§fn clone(&self) -> RvfOptions
fn clone(&self) -> RvfOptions
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 RvfOptions
impl Debug for RvfOptions
Auto Trait Implementations§
impl Freeze for RvfOptions
impl RefUnwindSafe for RvfOptions
impl Send for RvfOptions
impl Sync for RvfOptions
impl Unpin for RvfOptions
impl UnwindSafe for RvfOptions
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