Struct elastic::client::requests::endpoints::IndicesPutAliasRequest
[−]
pub struct IndicesPutAliasRequest<'a, B> { pub url: Url<'a>, pub body: B, }
Fields
url: Url<'a>
body: B
Methods
impl<'a, B> IndicesPutAliasRequest<'a, B>
fn for_index_name<IIndex, IName>(
index: IIndex,
name: IName,
body: B
) -> IndicesPutAliasRequest<'a, B> where
IIndex: Into<Index<'a>>,
IName: Into<Name<'a>>,
index: IIndex,
name: IName,
body: B
) -> IndicesPutAliasRequest<'a, B> where
IIndex: Into<Index<'a>>,
IName: Into<Name<'a>>,
Trait Implementations
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutAliasRequest<'a, B>
fn into(self) -> HttpRequest<'a, B>
Performs the conversion.
impl<'a, B> PartialEq<IndicesPutAliasRequest<'a, B>> for IndicesPutAliasRequest<'a, B> where
B: PartialEq<B>,
B: PartialEq<B>,
fn eq(&self, __arg_0: &IndicesPutAliasRequest<'a, B>) -> bool
fn ne(&self, __arg_0: &IndicesPutAliasRequest<'a, B>) -> bool
impl<'a, B> Debug for IndicesPutAliasRequest<'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 IndicesPutAliasRequest<'a, B> where
B: Clone,
B: Clone,