pub struct VectorInput {
pub id: String,
pub values: Vec<f64>,
pub metadata: Option<Value>,
pub namespace: Option<String>,
}Expand description
A single vector to be inserted or upserted.
Fields§
§id: StringUnique identifier for this vector (max 64 bytes).
values: Vec<f64>The embedding vector values.
metadata: Option<Value>Optional metadata to store with the vector.
namespace: Option<String>Optional namespace for the vector.
Trait Implementations§
Source§impl Clone for VectorInput
impl Clone for VectorInput
Source§fn clone(&self) -> VectorInput
fn clone(&self) -> VectorInput
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 VectorInput
impl Debug for VectorInput
Auto Trait Implementations§
impl Freeze for VectorInput
impl RefUnwindSafe for VectorInput
impl Send for VectorInput
impl Sync for VectorInput
impl Unpin for VectorInput
impl UnsafeUnpin for VectorInput
impl UnwindSafe for VectorInput
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