Struct elastic_requests::endpoints::IndicesGetFieldMappingRequest
[−]
[src]
pub struct IndicesGetFieldMappingRequest<'a> { pub url: Url<'a>, }
Get: /_mapping/field/{fields}
Fields
url: Url<'a>
Methods
impl<'a> IndicesGetFieldMappingRequest<'a>
[src]
pub fn for_fields<IFields>(fields: IFields) -> Self where
IFields: Into<Fields<'a>>,
[src]
IFields: Into<Fields<'a>>,
Request to: /_mapping/field/{fields}
pub fn for_index_fields<IIndex, IFields>(index: IIndex, fields: IFields) -> Self where
IIndex: Into<Index<'a>>,
IFields: Into<Fields<'a>>,
[src]
IIndex: Into<Index<'a>>,
IFields: Into<Fields<'a>>,
Request to: /{index}/_mapping/field/{fields}
pub fn for_index_ty_fields<IIndex, IType, IFields>(
index: IIndex,
ty: IType,
fields: IFields
) -> Self where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
IFields: Into<Fields<'a>>,
[src]
index: IIndex,
ty: IType,
fields: IFields
) -> Self where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
IFields: Into<Fields<'a>>,
Request to: /{index}/_mapping/{type}/field/{fields}
pub fn for_ty_fields<IType, IFields>(ty: IType, fields: IFields) -> Self where
IType: Into<Type<'a>>,
IFields: Into<Fields<'a>>,
[src]
IType: Into<Type<'a>>,
IFields: Into<Fields<'a>>,
Request to: /_mapping/{type}/field/{fields}
Trait Implementations
impl<'a> Debug for IndicesGetFieldMappingRequest<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for IndicesGetFieldMappingRequest<'a>
[src]
fn eq(&self, __arg_0: &IndicesGetFieldMappingRequest<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IndicesGetFieldMappingRequest<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for IndicesGetFieldMappingRequest<'a>
[src]
fn clone(&self) -> IndicesGetFieldMappingRequest<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Into<HttpRequest<'a, DefaultBody>> for IndicesGetFieldMappingRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.