Struct elastic::client::requests::endpoints::IndicesGetRequest
[−]
pub struct IndicesGetRequest<'a> { pub url: Url<'a>, }
Get: /{index}
Fields
url: Url<'a>
Methods
impl<'a> IndicesGetRequest<'a>
pub fn for_index<IIndex>(index: IIndex) -> IndicesGetRequest<'a> where
IIndex: Into<Index<'a>>,
IIndex: Into<Index<'a>>,
Request to: /{index}
pub fn for_index_feature<IIndex, IFeature>(
index: IIndex,
feature: IFeature
) -> IndicesGetRequest<'a> where
IFeature: Into<Feature<'a>>,
IIndex: Into<Index<'a>>,
index: IIndex,
feature: IFeature
) -> IndicesGetRequest<'a> where
IFeature: Into<Feature<'a>>,
IIndex: Into<Index<'a>>,
Request to: /{index}/{feature}
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<IndicesGetRequest<'a>> for IndicesGetRequest<'a>
fn eq(&self, __arg_0: &IndicesGetRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IndicesGetRequest<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for IndicesGetRequest<'a>
fn clone(&self) -> IndicesGetRequest<'a>
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