Struct elastic_requests::endpoints::IndicesRolloverRequest
[−]
[src]
pub struct IndicesRolloverRequest<'a, B> { pub url: Url<'a>, pub body: B, }
Post: /{alias}/_rollover
Fields
url: Url<'a>
body: B
Methods
impl<'a, B> IndicesRolloverRequest<'a, B>
[src]
pub fn for_alias<IAlias>(alias: IAlias, body: B) -> Self where
IAlias: Into<Alias<'a>>,
[src]
IAlias: Into<Alias<'a>>,
Request to: /{alias}/_rollover
pub fn for_alias_new_index<IAlias, INewIndex>(
alias: IAlias,
new_index: INewIndex,
body: B
) -> Self where
IAlias: Into<Alias<'a>>,
INewIndex: Into<NewIndex<'a>>,
[src]
alias: IAlias,
new_index: INewIndex,
body: B
) -> Self where
IAlias: Into<Alias<'a>>,
INewIndex: Into<NewIndex<'a>>,
Request to: /{alias}/_rollover/{new_index}
Trait Implementations
impl<'a, B: Debug> Debug for IndicesRolloverRequest<'a, B>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, B: PartialEq> PartialEq for IndicesRolloverRequest<'a, B>
[src]
fn eq(&self, __arg_0: &IndicesRolloverRequest<'a, B>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IndicesRolloverRequest<'a, B>) -> bool
[src]
This method tests for !=
.
impl<'a, B: Clone> Clone for IndicesRolloverRequest<'a, B>
[src]
fn clone(&self) -> IndicesRolloverRequest<'a, B>
[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, B> Into<HttpRequest<'a, B>> for IndicesRolloverRequest<'a, B>
[src]
fn into(self) -> HttpRequest<'a, B>
[src]
Performs the conversion.
Auto Trait Implementations
impl<'a, B> Send for IndicesRolloverRequest<'a, B> where
B: Send,
B: Send,
impl<'a, B> Sync for IndicesRolloverRequest<'a, B> where
B: Sync,
B: Sync,