Struct elasticsearch_dsl::search::InnerHit [−][src]
pub struct InnerHit<IH> {
pub index: Option<String>,
pub id: String,
pub score: Option<f32>,
pub nested: Option<Nested>,
pub source: Option<IH>,
pub matched_queries: Vec<String>,
pub sort: Vec<Value>,
}
Expand description
Represents a single matched inner hit document
Fields
index: Option<String>
Document index
id: String
Document ID
score: Option<f32>
Document score. None
when documents are implicitly sorted by a
field other than _score
nested: Option<Nested>
Nested document metadata
source: Option<IH>
Document source
matched_queries: Vec<String>
Matched queries
sort: Vec<Value>
Values document was sorted by
Trait Implementations
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<IH> RefUnwindSafe for InnerHit<IH> where
IH: RefUnwindSafe,
impl<IH> UnwindSafe for InnerHit<IH> where
IH: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more