pub struct UnifiedQueryResponse {
pub results: Vec<UnifiedSearchResult>,
pub next_cursor: Option<String>,
}Expand description
Unified query response with $dist scoring
Fields§
§results: Vec<UnifiedSearchResult>Search results ordered by rank_by score
next_cursor: Option<String>Cursor for pagination (if more results available)
Trait Implementations§
Source§impl Debug for UnifiedQueryResponse
impl Debug for UnifiedQueryResponse
Source§impl<'de> Deserialize<'de> for UnifiedQueryResponse
impl<'de> Deserialize<'de> for UnifiedQueryResponse
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 UnifiedQueryResponse
impl RefUnwindSafe for UnifiedQueryResponse
impl Send for UnifiedQueryResponse
impl Sync for UnifiedQueryResponse
impl Unpin for UnifiedQueryResponse
impl UnsafeUnpin for UnifiedQueryResponse
impl UnwindSafe for UnifiedQueryResponse
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