pub struct PartitionQueryResult<T> {
pub partition_index: usize,
pub vector_index: usize,
pub vector_id: Uuid,
pub squared_distance: T,
}Expand description
Result of a query in a single partition.
Fields§
§partition_index: usizeIndex of the partition.
vector_index: usizeIndex of the vector in the partition.
vector_id: UuidUnique ID of the vector.
squared_distance: TApproximate squared distance from the query vector.
Trait Implementations§
source§impl<T: Clone> Clone for PartitionQueryResult<T>
impl<T: Clone> Clone for PartitionQueryResult<T>
source§fn clone(&self) -> PartitionQueryResult<T>
fn clone(&self) -> PartitionQueryResult<T>
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 moreAuto Trait Implementations§
impl<T> RefUnwindSafe for PartitionQueryResult<T>where T: RefUnwindSafe,
impl<T> Send for PartitionQueryResult<T>where T: Send,
impl<T> Sync for PartitionQueryResult<T>where T: Sync,
impl<T> Unpin for PartitionQueryResult<T>where T: Unpin,
impl<T> UnwindSafe for PartitionQueryResult<T>where T: UnwindSafe,
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