pub struct VectorRecord {
pub id: String,
pub values: Vec<f32>,
pub metadata: BTreeMap<String, Value>,
}Expand description
One stored vector: its id, its embedding, and the metadata a filter can
select on — carried back on every VectorMatch.
Fields§
§id: String§values: Vec<f32>§metadata: BTreeMap<String, Value>Implementations§
Source§impl VectorRecord
impl VectorRecord
Trait Implementations§
Source§impl Clone for VectorRecord
impl Clone for VectorRecord
Source§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