pub struct VecStoreItem {
pub id: String,
pub vector: Vec<f32>,
pub payload: HashMap<String, Value>,
}Expand description
Item for vector store (id, vector, payload).
Fields§
§id: String§vector: Vec<f32>§payload: HashMap<String, Value>Trait Implementations§
Source§impl Clone for VecStoreItem
impl Clone for VecStoreItem
Source§fn clone(&self) -> VecStoreItem
fn clone(&self) -> VecStoreItem
Returns a duplicate 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 Freeze for VecStoreItem
impl RefUnwindSafe for VecStoreItem
impl Send for VecStoreItem
impl Sync for VecStoreItem
impl Unpin for VecStoreItem
impl UnsafeUnpin for VecStoreItem
impl UnwindSafe for VecStoreItem
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