Struct etcd::stats::LatencyStats
source · pub struct LatencyStats {
pub average: f64,
pub current: f64,
pub maximum: f64,
pub minimum: f64,
pub standard_deviation: f64,
}
Expand description
Statistics about the network latency to an etcd node.
Fields§
§average: f64
The average observed latency to the node, in seconds.
current: f64
The current observed latency to the node, in seconds.
maximum: f64
The maximum observed latency to the node, in seconds.
minimum: f64
The minimum observed latency to the node, in seconds.
standard_deviation: f64
The standard deviation of latency to the node.
Trait Implementations§
source§impl Clone for LatencyStats
impl Clone for LatencyStats
source§fn clone(&self) -> LatencyStats
fn clone(&self) -> LatencyStats
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 LatencyStats
impl Debug for LatencyStats
source§impl<'de> Deserialize<'de> for LatencyStats
impl<'de> Deserialize<'de> for LatencyStats
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