Struct elastic_responses::GetResponse [] [src]

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

Response for a get document request.

Methods

impl<T> GetResponse<T>
[src]

[src]

Get a reference to the source document.

[src]

Convert the response into the source document.

[src]

Whether or not a matching document was found.

[src]

The index for the document.

[src]

The type of the document.

[src]

The id of the document.

[src]

The version of the document.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<T: DeserializeOwned> IsOk for GetResponse<T>
[src]

[src]

Inspect the http response to determine whether or not it succeeded.

Auto Trait Implementations

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

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