Struct etcd::stats::LeaderInfo [] [src]

pub struct LeaderInfo {
    pub id: String,
    pub start_time: String,
    pub uptime: String,
}

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

Fields

id

The unique Raft ID of the leader.

start_time

The time the leader started.

uptime

The amount of time the leader has been up.

Trait Implementations

impl Deserialize for LeaderInfo

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

Derived Implementations

impl Debug for LeaderInfo

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

impl Clone for LeaderInfo

fn clone(&self) -> LeaderInfo

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