pub struct UpdateVectorStmt {
pub collection: String,
pub points: Vec<UpdateVectorPoint>,
pub shard_key: Option<ShardKey>,
pub wait: Option<bool>,
}Expand description
UPDATE <collection> SET VECTOR … statement.
Compact form (SET VECTOR [name] = … WHERE id = …) is one point. Batch
form (SET VECTOR VALUES {id, vector}, …) is the inverse of REST
PUT /points/vectors and gRPC UpdatePointVectors.points.
Fields§
§collection: StringTarget collection.
points: Vec<UpdateVectorPoint>Points whose vectors are replaced. Never empty after a successful parse.
shard_key: Option<ShardKey>SHARD '<key>' routing key.
wait: Option<bool>Optional write durability confirmation (WAIT true / WAIT false).
Trait Implementations§
Source§impl Clone for UpdateVectorStmt
impl Clone for UpdateVectorStmt
Source§fn clone(&self) -> UpdateVectorStmt
fn clone(&self) -> UpdateVectorStmt
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 UpdateVectorStmt
impl Debug for UpdateVectorStmt
Source§impl PartialEq for UpdateVectorStmt
impl PartialEq for UpdateVectorStmt
impl StructuralPartialEq for UpdateVectorStmt
Auto Trait Implementations§
impl Freeze for UpdateVectorStmt
impl RefUnwindSafe for UpdateVectorStmt
impl Send for UpdateVectorStmt
impl Sync for UpdateVectorStmt
impl Unpin for UpdateVectorStmt
impl UnsafeUnpin for UpdateVectorStmt
impl UnwindSafe for UpdateVectorStmt
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