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

The unique Raft ID of the member.

name

The member's name.

leader_info

A small amount of information about the leader of the cluster.

received_append_request_count

The number of received requests.

received_bandwidth_rate

The bandwidth rate of received requests.

received_package_rate

The package rate of received requests.

sent_append_request_count

The number of sent requests.

sent_bandwidth_rate

The bandwidth rate of sent requests.

sent_package_rate

The package rate of sent requests.

start_time

The time the member started.

state

The Raft state of the member.

Trait Implementations

impl Deserialize for SelfStats

fn deserialize<__D>(deserializer: &mut __D) -> Result<SelfStats, __D::Error> where __D: Deserializer

Derived Implementations

impl Debug for SelfStats

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for SelfStats

fn clone(&self) -> SelfStats

1.0.0fn clone_from(&mut self, source: &Self)