pub struct BatchVectorUpdate {
pub id: String,
pub data: Option<Vec<f32>>,
pub metadata: Option<HashMap<String, Value>>,
}
Expand description
Batch vector update
Fields§
§id: String
Vector ID
data: Option<Vec<f32>>
New vector data (optional)
metadata: Option<HashMap<String, Value>>
New metadata (optional)
Trait Implementations§
Source§impl Clone for BatchVectorUpdate
impl Clone for BatchVectorUpdate
Source§fn clone(&self) -> BatchVectorUpdate
fn clone(&self) -> BatchVectorUpdate
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 moreSource§impl Debug for BatchVectorUpdate
impl Debug for BatchVectorUpdate
Source§impl<'de> Deserialize<'de> for BatchVectorUpdate
impl<'de> Deserialize<'de> for BatchVectorUpdate
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 BatchVectorUpdate
impl RefUnwindSafe for BatchVectorUpdate
impl Send for BatchVectorUpdate
impl Sync for BatchVectorUpdate
impl Unpin for BatchVectorUpdate
impl UnwindSafe for BatchVectorUpdate
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