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