pub struct VectorMetadata {
pub embedder_id: String,
pub embedder_revision: String,
pub dimension: usize,
pub quantization: Quantization,
pub compaction_gen: u8,
pub record_count: usize,
pub vectors_offset: u64,
}Expand description
Parsed metadata from an FSVI file header.
Fields§
§embedder_id: StringStable embedder id used to build the index.
embedder_revision: StringModel revision identifier (e.g. pinned commit hash).
dimension: usizeVector dimensionality.
quantization: QuantizationStored quantization.
compaction_gen: u8Compaction generation counter (0-255) used for stale WAL detection.
record_count: usizeNumber of records in the index.
vectors_offset: u64Byte offset to the aligned vector slab.
Trait Implementations§
Source§impl Clone for VectorMetadata
impl Clone for VectorMetadata
Source§fn clone(&self) -> VectorMetadata
fn clone(&self) -> VectorMetadata
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 VectorMetadata
impl Debug for VectorMetadata
Source§impl PartialEq for VectorMetadata
impl PartialEq for VectorMetadata
Source§fn eq(&self, other: &VectorMetadata) -> bool
fn eq(&self, other: &VectorMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VectorMetadata
impl StructuralPartialEq for VectorMetadata
Auto Trait Implementations§
impl Freeze for VectorMetadata
impl RefUnwindSafe for VectorMetadata
impl Send for VectorMetadata
impl Sync for VectorMetadata
impl Unpin for VectorMetadata
impl UnsafeUnpin for VectorMetadata
impl UnwindSafe for VectorMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more