Struct elastic_requests::endpoints::IndicesGetAliasRequest
[−]
[src]
pub struct IndicesGetAliasRequest<'a> { pub url: Url<'a>, }
Get: /_alias/
Fields
url: Url<'a>
Methods
impl<'a> IndicesGetAliasRequest<'a>
[src]
fn new() -> Self
[src]
Request to: /_alias
fn for_index<IIndex>(index: IIndex) -> Self where
IIndex: Into<Index<'a>>,
[src]
IIndex: Into<Index<'a>>,
Request to: /{index}/_alias
fn for_index_name<IIndex, IName>(index: IIndex, name: IName) -> Self where
IIndex: Into<Index<'a>>,
IName: Into<Name<'a>>,
[src]
IIndex: Into<Index<'a>>,
IName: Into<Name<'a>>,
Request to: /{index}/_alias/{name}
fn for_name<IName>(name: IName) -> Self where
IName: Into<Name<'a>>,
[src]
IName: Into<Name<'a>>,
Request to: /_alias/{name}
Trait Implementations
impl<'a> Debug for IndicesGetAliasRequest<'a>
[src]
impl<'a> PartialEq for IndicesGetAliasRequest<'a>
[src]
fn eq(&self, __arg_0: &IndicesGetAliasRequest<'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: &IndicesGetAliasRequest<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for IndicesGetAliasRequest<'a>
[src]
fn clone(&self) -> IndicesGetAliasRequest<'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 IndicesGetAliasRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.