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