Struct elastic::client::requests::endpoints::ClusterStatsRequest
[−]
pub struct ClusterStatsRequest<'a> { pub url: Url<'a>, }
Get: /_cluster/stats
Fields
url: Url<'a>
Methods
impl<'a> ClusterStatsRequest<'a>
pub fn new() -> ClusterStatsRequest<'a>
Request to: /_cluster/stats
pub fn for_node_id<INodeId>(node_id: INodeId) -> ClusterStatsRequest<'a> where
INodeId: Into<NodeId<'a>>,
INodeId: Into<NodeId<'a>>,
Request to: /_cluster/stats/nodes/{node_id}
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterStatsRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<ClusterStatsRequest<'a>> for ClusterStatsRequest<'a>
fn eq(&self, __arg_0: &ClusterStatsRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClusterStatsRequest<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for ClusterStatsRequest<'a>
fn clone(&self) -> ClusterStatsRequest<'a>
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