Struct elasticsearch_dsl::search::Hits [−][src]
pub struct Hits<H, IH> {
pub total: Option<Total>,
pub max_score: Option<f32>,
pub hits: Vec<Hit<H, IH>>,
}
Expand description
Matched hits
Fields
total: Option<Total>
Total number of matched documents
max_score: Option<f32>
Maximum document score. None
when documents are implicitly sorted
by a field other than _score
hits: Vec<Hit<H, IH>>
Matched hits
Trait Implementations
impl<'de, H, IH> Deserialize<'de> for Hits<H, IH> where
H: Deserialize<'de>,
IH: Deserialize<'de>,
impl<'de, H, IH> Deserialize<'de> for Hits<H, IH> where
H: Deserialize<'de>,
IH: Deserialize<'de>,
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<H, IH> RefUnwindSafe for Hits<H, IH> where
H: RefUnwindSafe,
IH: RefUnwindSafe,
impl<H, IH> UnwindSafe for Hits<H, IH> where
H: UnwindSafe,
IH: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more