Struct elastic::client::requests::endpoints::IndexRequest []

pub struct IndexRequest<'a, B> {
    pub url: Url<'a>,
    pub body: B,
}

Fields

Methods

impl<'a, B> IndexRequest<'a, B>

Trait Implementations

impl<'a, B> Into<HttpRequest<'a, B>> for IndexRequest<'a, B>

Performs the conversion.

impl<'a, B> PartialEq<IndexRequest<'a, B>> for IndexRequest<'a, B> where
    B: PartialEq<B>, 

impl<'a, B> Debug for IndexRequest<'a, B> where
    B: Debug

Formats the value using the given formatter.

impl<'a, B> Clone for IndexRequest<'a, B> where
    B: Clone