pub struct VectorUpsert {
pub id: String,
pub vector: Vec<f32>,
pub metadata: Option<Map<String, Value>>,
}Expand description
One vector of Client::vector_upsert_many.
Fields§
§id: StringThe vector’s id.
vector: Vec<f32>The vector, at the collection’s dimension.
metadata: Option<Map<String, Value>>Metadata stored alongside it.
Implementations§
Trait Implementations§
Source§impl Clone for VectorUpsert
impl Clone for VectorUpsert
Source§impl Debug for VectorUpsert
impl Debug for VectorUpsert
Source§impl PartialEq for VectorUpsert
impl PartialEq for VectorUpsert
Source§impl Serialize for VectorUpsert
impl Serialize for VectorUpsert
impl StructuralPartialEq for VectorUpsert
Auto Trait Implementations§
impl Freeze for VectorUpsert
impl RefUnwindSafe for VectorUpsert
impl Send for VectorUpsert
impl Sync for VectorUpsert
impl Unpin for VectorUpsert
impl UnsafeUnpin for VectorUpsert
impl UnwindSafe for VectorUpsert
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