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

Methods

impl<T> SearchResult<T> where T: Deserialize
[src]

Take a reference to any aggregations in this result

Trait Implementations

impl<T: Debug + Deserialize> Debug for SearchResult<T>
[src]

Formats the value using the given formatter.