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 moreSource§impl Debug for BatchEntry
impl Debug for BatchEntry
Source§impl<'de> Deserialize<'de> for BatchEntry
impl<'de> Deserialize<'de> for BatchEntry
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
Auto 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