Struct elastic::client::responses::IndexResponse []

pub struct IndexResponse { /* fields omitted */ }

Response for an index document request.

Methods

impl IndexResponse

Shards metadata for the request.

Whether or not a matching document was created.

The index for the document.

The type of the document.

The id of the document.

The version of the document.

Trait Implementations

impl<'de> Deserialize<'de> for IndexResponse

impl Debug for IndexResponse

Formats the value using the given formatter.

impl IsOk for IndexResponse

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