pub struct TextQueryResponse {
pub results: Vec<TextSearchResult>,
pub model: EmbeddingModel,
pub embedding_time_ms: u64,
pub search_time_ms: u64,
}Expand description
Response from a text query operation.
Fields§
§results: Vec<TextSearchResult>Search results.
model: EmbeddingModelEmbedding model used.
embedding_time_ms: u64Time spent generating the query embedding in milliseconds.
search_time_ms: u64Time spent searching in milliseconds.
Trait Implementations§
Source§impl Clone for TextQueryResponse
impl Clone for TextQueryResponse
Source§fn clone(&self) -> TextQueryResponse
fn clone(&self) -> TextQueryResponse
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 TextQueryResponse
impl Debug for TextQueryResponse
Source§impl<'de> Deserialize<'de> for TextQueryResponse
impl<'de> Deserialize<'de> for TextQueryResponse
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 TextQueryResponse
impl RefUnwindSafe for TextQueryResponse
impl Send for TextQueryResponse
impl Sync for TextQueryResponse
impl Unpin for TextQueryResponse
impl UnsafeUnpin for TextQueryResponse
impl UnwindSafe for TextQueryResponse
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