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