Struct etcd::stats::LeaderStats [] [src]

pub struct LeaderStats {
    pub leader: String,
    pub followers: HashMap<String, FollowerStats>,
}

Statistics about an etcd cluster leader.

Fields

leader

A unique identifier of a leader member.

followers

Statistics for each peer in the cluster keyed by each peer's unique identifier.

Trait Implementations

impl Deserialize for LeaderStats

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

Derived Implementations

impl Debug for LeaderStats

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

impl Clone for LeaderStats

fn clone(&self) -> LeaderStats

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