pub struct BatchEntry {
pub id: String,
pub vector: Vec<f32>,
pub metadata: Option<Value>,
}Expand description
An entry for batch upsert
Fields§
§id: String§vector: Vec<f32>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for BatchEntry
impl Clone for BatchEntry
Source§fn clone(&self) -> BatchEntry
fn clone(&self) -> BatchEntry
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 moreAuto Trait Implementations§
impl Freeze for BatchEntry
impl RefUnwindSafe for BatchEntry
impl Send for BatchEntry
impl Sync for BatchEntry
impl Unpin for BatchEntry
impl UnsafeUnpin for BatchEntry
impl UnwindSafe for BatchEntry
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