Struct rs_es::operations::search::SearchResult
[−]
[src]
pub struct SearchResult<T: Deserialize> { pub took: u64, pub timed_out: bool, pub shards: ShardCountResult, pub hits: SearchHitsResult<T>, pub aggs: Option<AggregationsResult>, pub scroll_id: Option<String>, }
Fields
took: u64
timed_out: bool
hits: SearchHitsResult<T>
aggs: Option<AggregationsResult>
scroll_id: Option<String>
Methods
impl<T> SearchResult<T> where T: Deserialize
[src]
fn aggs_ref<'a>(&'a self) -> Option<&'a AggregationsResult>
Take a reference to any aggregations in this result