pub struct MultiVectorPoint {
pub id: PointId,
pub vectors: HashMap<String, Vec<f32>>,
pub payload: Payload,
}Expand description
A point with named vector support (for multi-vector collections).
Fields§
§id: PointIdUnique point identifier.
vectors: HashMap<String, Vec<f32>>Named vectors — key is vector name, value is the embedding.
payload: PayloadKey-value metadata payload.
Implementations§
Trait Implementations§
Source§impl Clone for MultiVectorPoint
impl Clone for MultiVectorPoint
Source§fn clone(&self) -> MultiVectorPoint
fn clone(&self) -> MultiVectorPoint
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 MultiVectorPoint
impl Debug for MultiVectorPoint
Source§impl<'de> Deserialize<'de> for MultiVectorPoint
impl<'de> Deserialize<'de> for MultiVectorPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MultiVectorPoint
impl PartialEq for MultiVectorPoint
Source§fn eq(&self, other: &MultiVectorPoint) -> bool
fn eq(&self, other: &MultiVectorPoint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MultiVectorPoint
impl Serialize for MultiVectorPoint
impl StructuralPartialEq for MultiVectorPoint
Auto Trait Implementations§
impl Freeze for MultiVectorPoint
impl RefUnwindSafe for MultiVectorPoint
impl Send for MultiVectorPoint
impl Sync for MultiVectorPoint
impl Unpin for MultiVectorPoint
impl UnsafeUnpin for MultiVectorPoint
impl UnwindSafe for MultiVectorPoint
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