pub struct BatchQueryTextResponse {
pub results: Vec<Vec<TextSearchResult>>,
pub model: String,
pub embedding_time_ms: u64,
pub search_time_ms: u64,
}Expand description
Response from a batch text query operation.
Fields§
§results: Vec<Vec<TextSearchResult>>Results for each query (in the same order as the request).
model: StringEmbedding model used.
embedding_time_ms: u64Time spent generating all embeddings in milliseconds.
search_time_ms: u64Time spent on all searches in milliseconds.
Trait Implementations§
Source§impl Clone for BatchQueryTextResponse
impl Clone for BatchQueryTextResponse
Source§fn clone(&self) -> BatchQueryTextResponse
fn clone(&self) -> BatchQueryTextResponse
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 BatchQueryTextResponse
impl Debug for BatchQueryTextResponse
Source§impl<'de> Deserialize<'de> for BatchQueryTextResponse
impl<'de> Deserialize<'de> for BatchQueryTextResponse
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 BatchQueryTextResponse
impl RefUnwindSafe for BatchQueryTextResponse
impl Send for BatchQueryTextResponse
impl Sync for BatchQueryTextResponse
impl Unpin for BatchQueryTextResponse
impl UnsafeUnpin for BatchQueryTextResponse
impl UnwindSafe for BatchQueryTextResponse
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