pub struct IntelligentSearchResponse {
pub results: Vec<IntelligentSearchResult>,
pub total_results: usize,
pub duration_ms: u64,
pub queries_generated: Option<Vec<String>>,
pub collections_searched: Option<Vec<String>>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
Intelligent search response
Fields§
§results: Vec<IntelligentSearchResult>Search results
total_results: usizeTotal number of results found
duration_ms: u64Search duration in milliseconds
queries_generated: Option<Vec<String>>Queries generated
collections_searched: Option<Vec<String>>Collections searched
metadata: Option<HashMap<String, Value>>Search metadata
Trait Implementations§
Source§impl Clone for IntelligentSearchResponse
impl Clone for IntelligentSearchResponse
Source§fn clone(&self) -> IntelligentSearchResponse
fn clone(&self) -> IntelligentSearchResponse
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 IntelligentSearchResponse
impl Debug for IntelligentSearchResponse
Source§impl<'de> Deserialize<'de> for IntelligentSearchResponse
impl<'de> Deserialize<'de> for IntelligentSearchResponse
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 IntelligentSearchResponse
impl RefUnwindSafe for IntelligentSearchResponse
impl Send for IntelligentSearchResponse
impl Sync for IntelligentSearchResponse
impl Unpin for IntelligentSearchResponse
impl UnwindSafe for IntelligentSearchResponse
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