pub struct VectorCandidate {
pub chunk_id: ChunkId,
pub file_id: FileId,
pub rank: u32,
pub score: f32,
}Expand description
A vector search candidate (RFC-008 §13).
Fields§
§chunk_id: ChunkId§file_id: FileId§rank: u32§score: f32Trait Implementations§
Source§impl Clone for VectorCandidate
impl Clone for VectorCandidate
Source§fn clone(&self) -> VectorCandidate
fn clone(&self) -> VectorCandidate
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 moreAuto Trait Implementations§
impl Freeze for VectorCandidate
impl RefUnwindSafe for VectorCandidate
impl Send for VectorCandidate
impl Sync for VectorCandidate
impl Unpin for VectorCandidate
impl UnsafeUnpin for VectorCandidate
impl UnwindSafe for VectorCandidate
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