pub struct BatchStoreMemoryResponse {
pub stored: Vec<BatchStoredMemory>,
pub stored_count: usize,
pub total_embedding_time_ms: u64,
}Expand description
Response from POST /v1/memories/store/batch.
Fields§
§stored: Vec<BatchStoredMemory>Stored memories in the same order as the request items.
stored_count: usizeNumber of memories successfully stored.
total_embedding_time_ms: u64Time spent on ONNX embedding for the entire batch (milliseconds).
Trait Implementations§
Source§impl Clone for BatchStoreMemoryResponse
impl Clone for BatchStoreMemoryResponse
Source§fn clone(&self) -> BatchStoreMemoryResponse
fn clone(&self) -> BatchStoreMemoryResponse
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 BatchStoreMemoryResponse
impl Debug for BatchStoreMemoryResponse
Source§impl<'de> Deserialize<'de> for BatchStoreMemoryResponse
impl<'de> Deserialize<'de> for BatchStoreMemoryResponse
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 BatchStoreMemoryResponse
impl RefUnwindSafe for BatchStoreMemoryResponse
impl Send for BatchStoreMemoryResponse
impl Sync for BatchStoreMemoryResponse
impl Unpin for BatchStoreMemoryResponse
impl UnsafeUnpin for BatchStoreMemoryResponse
impl UnwindSafe for BatchStoreMemoryResponse
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