Struct elastic_requests::NodesStatsRequest
[−]
[src]
pub struct NodesStatsRequest<'a> { pub url: Url<'a>, }
Fields
url: Url<'a>
Methods
impl<'a> NodesStatsRequest<'a>
[src]
fn new() -> NodesStatsRequest<'a>
fn for_metric<IMetric: Into<Metric<'a>>>(metric: IMetric)
-> NodesStatsRequest<'a>
-> NodesStatsRequest<'a>
fn for_metric_index_metric<IMetric: Into<Metric<'a>>, IIndexMetric: Into<IndexMetric<'a>>>(metric: IMetric,
index_metric: IIndexMetric)
-> NodesStatsRequest<'a>
index_metric: IIndexMetric)
-> NodesStatsRequest<'a>
fn for_node_id<INodeId: Into<NodeId<'a>>>(node_id: INodeId)
-> NodesStatsRequest<'a>
-> NodesStatsRequest<'a>
fn for_node_id_metric<INodeId: Into<NodeId<'a>>, IMetric: Into<Metric<'a>>>(node_id: INodeId,
metric: IMetric)
-> NodesStatsRequest<'a>
metric: IMetric)
-> NodesStatsRequest<'a>
fn for_node_id_metric_index_metric<INodeId: Into<NodeId<'a>>, IMetric: Into<Metric<'a>>, IIndexMetric: Into<IndexMetric<'a>>>(node_id: INodeId,
metric: IMetric,
index_metric: IIndexMetric)
-> NodesStatsRequest<'a>
metric: IMetric,
index_metric: IIndexMetric)
-> NodesStatsRequest<'a>
Trait Implementations
impl<'a> Debug for NodesStatsRequest<'a>
[src]
impl<'a> PartialEq for NodesStatsRequest<'a>
[src]
fn eq(&self, __arg_0: &NodesStatsRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NodesStatsRequest<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for NodesStatsRequest<'a>
[src]
fn clone(&self) -> NodesStatsRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a, 'b: 'a> Into<HttpRequest<'a>> for &'a NodesStatsRequest<'b>
[src]
fn into(self) -> HttpRequest<'a>
Performs the conversion.
impl<'a> Into<HttpRequest<'a>> for NodesStatsRequest<'a>
[src]
fn into(self) -> HttpRequest<'a>
Performs the conversion.