Struct elastic::client::requests::endpoints::NodesStatsRequest
[−]
pub struct NodesStatsRequest<'a> { pub url: Url<'a>, }
Fields
url: Url<'a>
Methods
impl<'a> NodesStatsRequest<'a>
fn new() -> NodesStatsRequest<'a>
fn for_metric<IMetric>(metric: IMetric) -> NodesStatsRequest<'a> where
IMetric: Into<Metric<'a>>,
IMetric: Into<Metric<'a>>,
fn for_metric_index_metric<IMetric, IIndexMetric>(
metric: IMetric,
index_metric: IIndexMetric
) -> NodesStatsRequest<'a> where
IIndexMetric: Into<IndexMetric<'a>>,
IMetric: Into<Metric<'a>>,
metric: IMetric,
index_metric: IIndexMetric
) -> NodesStatsRequest<'a> where
IIndexMetric: Into<IndexMetric<'a>>,
IMetric: Into<Metric<'a>>,
fn for_node_id<INodeId>(node_id: INodeId) -> NodesStatsRequest<'a> where
INodeId: Into<NodeId<'a>>,
INodeId: Into<NodeId<'a>>,
fn for_node_id_metric<INodeId, IMetric>(
node_id: INodeId,
metric: IMetric
) -> NodesStatsRequest<'a> where
IMetric: Into<Metric<'a>>,
INodeId: Into<NodeId<'a>>,
node_id: INodeId,
metric: IMetric
) -> NodesStatsRequest<'a> where
IMetric: Into<Metric<'a>>,
INodeId: Into<NodeId<'a>>,
fn for_node_id_metric_index_metric<INodeId, IMetric, IIndexMetric>(
node_id: INodeId,
metric: IMetric,
index_metric: IIndexMetric
) -> NodesStatsRequest<'a> where
IIndexMetric: Into<IndexMetric<'a>>,
IMetric: Into<Metric<'a>>,
INodeId: Into<NodeId<'a>>,
node_id: INodeId,
metric: IMetric,
index_metric: IIndexMetric
) -> NodesStatsRequest<'a> where
IIndexMetric: Into<IndexMetric<'a>>,
IMetric: Into<Metric<'a>>,
INodeId: Into<NodeId<'a>>,
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for NodesStatsRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<NodesStatsRequest<'a>> for NodesStatsRequest<'a>
fn eq(&self, __arg_0: &NodesStatsRequest<'a>) -> bool
fn ne(&self, __arg_0: &NodesStatsRequest<'a>) -> bool
impl<'a> Debug for NodesStatsRequest<'a>
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.