Struct elastic_requests::endpoints::IndicesGetMappingRequest
[−]
[src]
pub struct IndicesGetMappingRequest<'a> { pub url: Url<'a>, }
Get: /_mapping
Fields
url: Url<'a>
Methods
impl<'a> IndicesGetMappingRequest<'a>
[src]
pub fn new() -> Self
[src]
Request to: /_mapping
pub fn for_index<IIndex>(index: IIndex) -> Self where
IIndex: Into<Index<'a>>,
[src]
IIndex: Into<Index<'a>>,
Request to: /{index}/_mapping
pub fn for_index_ty<IIndex, IType>(index: IIndex, ty: IType) -> Self where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
[src]
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
Request to: /{index}/_mapping/{type}
pub fn for_ty<IType>(ty: IType) -> Self where
IType: Into<Type<'a>>,
[src]
IType: Into<Type<'a>>,
Request to: /_mapping/{type}
Trait Implementations
impl<'a> Debug for IndicesGetMappingRequest<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for IndicesGetMappingRequest<'a>
[src]
fn eq(&self, __arg_0: &IndicesGetMappingRequest<'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: &IndicesGetMappingRequest<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for IndicesGetMappingRequest<'a>
[src]
fn clone(&self) -> IndicesGetMappingRequest<'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 IndicesGetMappingRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.