Struct elastic::client::responses::Hits []

pub struct Hits<T> {
    pub total: u64,
    pub max_score: Option<f32>,
    pub hits: Vec<T>,
}

Struct to hold the search's Hits, serializable to type T or serde_json::Value

Fields

Trait Implementations

impl<'de, T> Deserialize<'de> for Hits<T> where
    T: Deserialize<'de>, 

impl<T> Debug for Hits<T> where
    T: Debug

Formats the value using the given formatter.