pub struct VectorRecord {
pub key: Vec<u8>,
pub vector: Vec<f64>,
}Expand description
One candidate vector with a globally unique binary key.
Fields§
§key: Vec<u8>Globally unique nonempty key.
vector: Vec<f64>Finite nonzero semantic vector.
Implementations§
Trait Implementations§
Source§impl Clone for VectorRecord
impl Clone for VectorRecord
Source§fn clone(&self) -> VectorRecord
fn clone(&self) -> VectorRecord
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 VectorRecord
impl Debug for VectorRecord
Source§impl PartialEq for VectorRecord
impl PartialEq for VectorRecord
impl StructuralPartialEq for VectorRecord
Auto Trait Implementations§
impl Freeze for VectorRecord
impl RefUnwindSafe for VectorRecord
impl Send for VectorRecord
impl Sync for VectorRecord
impl Unpin for VectorRecord
impl UnsafeUnpin for VectorRecord
impl UnwindSafe for VectorRecord
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