Struct etcd::stats::LeaderStats
source · pub struct LeaderStats {
pub leader: String,
pub followers: HashMap<String, FollowerStats>,
}
Expand description
Statistics about an etcd cluster leader.
Fields§
§leader: String
A unique identifier of a leader member.
followers: HashMap<String, FollowerStats>
Statistics for each peer in the cluster keyed by each peer’s unique identifier.
Trait Implementations§
source§impl Clone for LeaderStats
impl Clone for LeaderStats
source§fn clone(&self) -> LeaderStats
fn clone(&self) -> LeaderStats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LeaderStats
impl Debug for LeaderStats
source§impl<'de> Deserialize<'de> for LeaderStats
impl<'de> Deserialize<'de> for LeaderStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more