pub struct VectorBatch {
pub batch_id: String,
pub operations: Vec<VectorOperation>,
pub created_at: DateTime<Utc>,
pub index_name: String,
pub priority: u8,
pub estimated_duration_ms: u64,
pub metadata: HashMap<String, Value>,
}Expand description
Vector batch operation
Fields§
§batch_id: StringBatch ID
operations: Vec<VectorOperation>Operations in this batch
created_at: DateTime<Utc>Batch creation timestamp
index_name: StringTarget index name
priority: u8Batch priority
estimated_duration_ms: u64Expected processing time
metadata: HashMap<String, Value>Batch metadata
Trait Implementations§
Source§impl Clone for VectorBatch
impl Clone for VectorBatch
Source§fn clone(&self) -> VectorBatch
fn clone(&self) -> VectorBatch
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 VectorBatch
impl Debug for VectorBatch
Source§impl<'de> Deserialize<'de> for VectorBatch
impl<'de> Deserialize<'de> for VectorBatch
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 VectorBatch
impl RefUnwindSafe for VectorBatch
impl Send for VectorBatch
impl Sync for VectorBatch
impl Unpin for VectorBatch
impl UnwindSafe for VectorBatch
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