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