Struct elastic_responses::search::Hit [] [src]

pub struct Hit<T> { /* fields omitted */ }

Full metadata and source for a single hit.

Methods

impl<T> Hit<T>
[src]

[src]

Get a reference to the source document.

[src]

Convert the hit into the source document.

[src]

The index for the hit.

[src]

The type of the hit.

[src]

The version of the hit.

[src]

The score of the hit.

Trait Implementations

impl<T: Debug> Debug for Hit<T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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