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