Struct elastic_requests::endpoints::IndicesGetSettingsRequest
[−]
[src]
pub struct IndicesGetSettingsRequest<'a> { pub url: Url<'a>, }
Get: /_settings
Fields
url: Url<'a>
Methods
impl<'a> IndicesGetSettingsRequest<'a>
[src]
pub fn new() -> Self
[src]
Request to: /_settings
pub fn for_index<IIndex>(index: IIndex) -> Self where
IIndex: Into<Index<'a>>,
[src]
IIndex: Into<Index<'a>>,
Request to: /{index}/_settings
pub fn for_index_name<IIndex, IName>(index: IIndex, name: IName) -> Self where
IIndex: Into<Index<'a>>,
IName: Into<Name<'a>>,
[src]
IIndex: Into<Index<'a>>,
IName: Into<Name<'a>>,
Request to: /{index}/_settings/{name}
pub fn for_name<IName>(name: IName) -> Self where
IName: Into<Name<'a>>,
[src]
IName: Into<Name<'a>>,
Request to: /_settings/{name}
Trait Implementations
impl<'a> Debug for IndicesGetSettingsRequest<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for IndicesGetSettingsRequest<'a>
[src]
fn eq(&self, __arg_0: &IndicesGetSettingsRequest<'a>) -> bool
[src]
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
[src]
This method tests for !=
.
impl<'a> Clone for IndicesGetSettingsRequest<'a>
[src]
fn clone(&self) -> IndicesGetSettingsRequest<'a>
[src]
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
impl<'a> Into<HttpRequest<'a, DefaultBody>> for IndicesGetSettingsRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.