Struct elastic::client::requests::endpoints::ClusterStateRequest
[−]
pub struct ClusterStateRequest<'a> { pub url: Url<'a>, }
Fields
url: Url<'a>
Methods
impl<'a> ClusterStateRequest<'a>
fn new() -> ClusterStateRequest<'a>
fn for_metric<IMetric>(metric: IMetric) -> ClusterStateRequest<'a> where
IMetric: Into<Metric<'a>>,
IMetric: Into<Metric<'a>>,
fn for_metric_index<IMetric, IIndex>(
metric: IMetric,
index: IIndex
) -> ClusterStateRequest<'a> where
IIndex: Into<Index<'a>>,
IMetric: Into<Metric<'a>>,
metric: IMetric,
index: IIndex
) -> ClusterStateRequest<'a> where
IIndex: Into<Index<'a>>,
IMetric: Into<Metric<'a>>,
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterStateRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<ClusterStateRequest<'a>> for ClusterStateRequest<'a>
fn eq(&self, __arg_0: &ClusterStateRequest<'a>) -> bool
fn ne(&self, __arg_0: &ClusterStateRequest<'a>) -> bool
impl<'a> Debug for ClusterStateRequest<'a>
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.