Struct elastic::client::requests::endpoints::IndicesPutMappingRequest
[−]
pub struct IndicesPutMappingRequest<'a, B> { pub url: Url<'a>, pub body: B, }
Fields
url: Url<'a>
body: B
Methods
impl<'a, B> IndicesPutMappingRequest<'a, B>
fn for_index_ty<IIndex, IType>(
index: IIndex,
ty: IType,
body: B
) -> IndicesPutMappingRequest<'a, B> where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
index: IIndex,
ty: IType,
body: B
) -> IndicesPutMappingRequest<'a, B> where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
fn for_ty<IType>(ty: IType, body: B) -> IndicesPutMappingRequest<'a, B> where
IType: Into<Type<'a>>,
IType: Into<Type<'a>>,
Trait Implementations
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutMappingRequest<'a, B>
fn into(self) -> HttpRequest<'a, B>
Performs the conversion.
impl<'a, B> PartialEq<IndicesPutMappingRequest<'a, B>> for IndicesPutMappingRequest<'a, B> where
B: PartialEq<B>,
B: PartialEq<B>,
fn eq(&self, __arg_0: &IndicesPutMappingRequest<'a, B>) -> bool
fn ne(&self, __arg_0: &IndicesPutMappingRequest<'a, B>) -> bool
impl<'a, B> Debug for IndicesPutMappingRequest<'a, B> where
B: Debug,
B: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<'a, B> Clone for IndicesPutMappingRequest<'a, B> where
B: Clone,
B: Clone,