Struct elastic_requests::endpoints::ClusterStatsRequest
[−]
[src]
pub struct ClusterStatsRequest<'a> { pub url: Url<'a>, }
Get: /_cluster/stats
Fields
url: Url<'a>
Methods
impl<'a> ClusterStatsRequest<'a>
[src]
fn new() -> Self
[src]
Request to: /_cluster/stats
fn for_node_id<INodeId>(node_id: INodeId) -> Self where
INodeId: Into<NodeId<'a>>,
[src]
INodeId: Into<NodeId<'a>>,
Request to: /_cluster/stats/nodes/{node_id}
Trait Implementations
impl<'a> Debug for ClusterStatsRequest<'a>
[src]
impl<'a> PartialEq for ClusterStatsRequest<'a>
[src]
fn eq(&self, __arg_0: &ClusterStatsRequest<'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: &ClusterStatsRequest<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for ClusterStatsRequest<'a>
[src]
fn clone(&self) -> ClusterStatsRequest<'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 ClusterStatsRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.