pub struct TopRetrievalQuery {
pub query: String,
pub count: usize,
pub avg_documents: f64,
pub avg_top_score: Option<f64>,
}Expand description
A single grouped retrieval query with aggregate stats.
Fields§
§query: String§count: usize§avg_documents: f64§avg_top_score: Option<f64>Trait Implementations§
Source§impl Clone for TopRetrievalQuery
impl Clone for TopRetrievalQuery
Source§fn clone(&self) -> TopRetrievalQuery
fn clone(&self) -> TopRetrievalQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TopRetrievalQuery
impl Debug for TopRetrievalQuery
Source§impl<'de> Deserialize<'de> for TopRetrievalQuery
impl<'de> Deserialize<'de> for TopRetrievalQuery
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 TopRetrievalQuery
impl RefUnwindSafe for TopRetrievalQuery
impl Send for TopRetrievalQuery
impl Sync for TopRetrievalQuery
impl Unpin for TopRetrievalQuery
impl UnsafeUnpin for TopRetrievalQuery
impl UnwindSafe for TopRetrievalQuery
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