Struct consul_rs::agent::MetricsInfo [−][src]
pub struct MetricsInfo { pub Timestamp: Option<String>, pub Gauges: Option<Vec<GaugeValue>>, pub Points: Option<Vec<PointValue>>, pub Counters: Option<Vec<SampledValue>>, pub Samples: Option<Vec<SampledValue>>, }
Expand description
Metrics info is used to store different types of metric values from the agent.
Fields
Timestamp: Option<String>
Gauges: Option<Vec<GaugeValue>>
Points: Option<Vec<PointValue>>
Counters: Option<Vec<SampledValue>>
Samples: Option<Vec<SampledValue>>
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for MetricsInfo
impl Send for MetricsInfo
impl Sync for MetricsInfo
impl Unpin for MetricsInfo
impl UnwindSafe for MetricsInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more