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

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

Post: /{index}/{type}/_mapping

Elasticsearch Documentation

Fields

Methods

impl<'a, B> IndicesPutMappingRequest<'a, B>

Request to: /{index}/_mappings/{type}

Request to: /_mappings/{type}

Trait Implementations

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

Performs the conversion.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, B> Clone for IndicesPutMappingRequest<'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> Debug for IndicesPutMappingRequest<'a, B> where
    B: Debug

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, B> Send for IndicesPutMappingRequest<'a, B> where
    B: Send

impl<'a, B> Sync for IndicesPutMappingRequest<'a, B> where
    B: Sync