Struct elastic::client::responses::Hit []

pub struct Hit<T> {
    pub index: String,
    pub ty: String,
    pub version: Option<u32>,
    pub score: Option<f32>,
    pub source: Option<T>,
    pub routing: Option<String>,
}

Full metadata and source for a single hit.

Fields

Trait Implementations

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

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

Formats the value using the given formatter.