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

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

Post: /{index}/{type}/{id}/_update

Elasticsearch Documentation

Fields

Methods

impl<'a, B> UpdateRequest<'a, B>

Request to: /{index}/{type}/{id}/_update

Trait Implementations

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

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

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

Formats the value using the given formatter.

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

Performs the conversion.