Struct etcd::stats::SelfStats
[−]
[src]
pub struct SelfStats { pub id: String, pub name: String, pub leader_info: LeaderInfo, pub received_append_request_count: u64, pub received_bandwidth_rate: Option<f64>, pub received_package_rate: Option<f64>, pub sent_append_request_count: u64, pub sent_bandwidth_rate: Option<f64>, pub sent_package_rate: Option<f64>, pub start_time: String, pub state: String, }
Statistics about an etcd cluster member.
Fields
id: String
The unique Raft ID of the member.
name: String
The member's name.
leader_info: LeaderInfo
A small amount of information about the leader of the cluster.
received_append_request_count: u64
The number of received requests.
received_bandwidth_rate: Option<f64>
The bandwidth rate of received requests.
received_package_rate: Option<f64>
The package rate of received requests.
sent_append_request_count: u64
The number of sent requests.
sent_bandwidth_rate: Option<f64>
The bandwidth rate of sent requests.
sent_package_rate: Option<f64>
The package rate of sent requests.
start_time: String
The time the member started.
state: String
The Raft state of the member.
Trait Implementations
impl Clone for SelfStats
[src]
fn clone(&self) -> SelfStats
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