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
index: String
ty: String
version: Option<u32>
score: Option<f32>
source: Option<T>
routing: Option<String>
Trait Implementations
impl<'de, T> Deserialize<'de> for Hit<T> where
T: Deserialize<'de>,
T: Deserialize<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Hit<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
__deserializer: __D
) -> Result<Hit<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<T> Debug for Hit<T> where
T: Debug,
T: Debug,