pub struct SemanticSearchResponse {
pub results: Vec<SemanticSearchResultItem>,
pub count: usize,
pub metric: String,
pub stats: SearchStats,
}Expand description
Response from semantic search
Fields§
§results: Vec<SemanticSearchResultItem>The search results
count: usizeTotal number of results
metric: StringThe metric used for scoring
stats: SearchStatsQuery execution stats
Trait Implementations§
Source§impl Clone for SemanticSearchResponse
impl Clone for SemanticSearchResponse
Source§impl Debug for SemanticSearchResponse
impl Debug for SemanticSearchResponse
Source§impl<'de> Deserialize<'de> for SemanticSearchResponse
impl<'de> Deserialize<'de> for SemanticSearchResponse
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 SemanticSearchResponse
impl RefUnwindSafe for SemanticSearchResponse
impl Send for SemanticSearchResponse
impl Sync for SemanticSearchResponse
impl Unpin for SemanticSearchResponse
impl UnsafeUnpin for SemanticSearchResponse
impl UnwindSafe for SemanticSearchResponse
Blanket Implementations§
impl<T> Allocation for T
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