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

pub struct IndexResponse {
    pub index: String,
    pub ty: String,
    pub id: String,
    pub version: Option<u32>,
    pub created: bool,
    pub shards: Shards,
}

Response for an index document request.

Fields

Trait Implementations

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

impl IsOk for IndexResponse

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

impl Debug for IndexResponse

Formats the value using the given formatter.