pub struct BatchSearchResponse {
pub success: bool,
pub collection: String,
pub total_queries: usize,
pub successful_queries: usize,
pub failed_queries: usize,
pub duration_ms: u64,
pub results: Vec<Vec<SearchResult>>,
pub errors: Vec<String>,
}
Expand description
Batch search response
Fields§
§success: bool
Whether the operation was successful
collection: String
Collection name
total_queries: usize
Total number of queries
successful_queries: usize
Number of successful queries
failed_queries: usize
Number of failed queries
duration_ms: u64
Duration in milliseconds
results: Vec<Vec<SearchResult>>
Search results
errors: Vec<String>
Error messages
Trait Implementations§
Source§impl Clone for BatchSearchResponse
impl Clone for BatchSearchResponse
Source§fn clone(&self) -> BatchSearchResponse
fn clone(&self) -> BatchSearchResponse
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 BatchSearchResponse
impl Debug for BatchSearchResponse
Source§impl<'de> Deserialize<'de> for BatchSearchResponse
impl<'de> Deserialize<'de> for BatchSearchResponse
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 BatchSearchResponse
impl RefUnwindSafe for BatchSearchResponse
impl Send for BatchSearchResponse
impl Sync for BatchSearchResponse
impl Unpin for BatchSearchResponse
impl UnwindSafe for BatchSearchResponse
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