Struct elastic_requests::endpoints::IndicesStatsRequest
[−]
[src]
pub struct IndicesStatsRequest<'a> { pub url: Url<'a>, }
Get: /_stats
Fields
url: Url<'a>
Methods
impl<'a> IndicesStatsRequest<'a>
[src]
fn new() -> Self
[src]
Request to: /_stats
fn for_index<IIndex>(index: IIndex) -> Self where
IIndex: Into<Index<'a>>,
[src]
IIndex: Into<Index<'a>>,
Request to: /{index}/_stats
fn for_index_metric<IIndex, IMetric>(index: IIndex, metric: IMetric) -> Self where
IIndex: Into<Index<'a>>,
IMetric: Into<Metric<'a>>,
[src]
IIndex: Into<Index<'a>>,
IMetric: Into<Metric<'a>>,
Request to: /{index}/_stats/{metric}
fn for_metric<IMetric>(metric: IMetric) -> Self where
IMetric: Into<Metric<'a>>,
[src]
IMetric: Into<Metric<'a>>,
Request to: /_stats/{metric}
Trait Implementations
impl<'a> Debug for IndicesStatsRequest<'a>
[src]
impl<'a> PartialEq for IndicesStatsRequest<'a>
[src]
fn eq(&self, __arg_0: &IndicesStatsRequest<'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: &IndicesStatsRequest<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for IndicesStatsRequest<'a>
[src]
fn clone(&self) -> IndicesStatsRequest<'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 IndicesStatsRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.