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

The unique Raft ID of the leader.

The time the leader started.

The amount of time the leader has been up.

Trait Implementations

impl Clone for LeaderInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LeaderInfo
[src]

Formats the value using the given formatter.

impl Eq for LeaderInfo
[src]

impl Hash for LeaderInfo
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for LeaderInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.