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