pub struct MetricsSummary {
pub timestamp: String,
pub gauges: Vec<GaugeValue>,
pub points: Vec<PointValue>,
pub counters: Vec<SampledValue>,
pub samples: Vec<SampledValue>,
}
Expand description
MetricsSummary holds a roll-up of metrics info for a given interval
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§timestamp: String
§gauges: Vec<GaugeValue>
§points: Vec<PointValue>
§counters: Vec<SampledValue>
§samples: Vec<SampledValue>
Implementations§
Source§impl MetricsSummary
impl MetricsSummary
pub fn builder() -> MetricsSummaryBuilder
Trait Implementations§
Source§impl Clone for MetricsSummary
impl Clone for MetricsSummary
Source§fn clone(&self) -> MetricsSummary
fn clone(&self) -> MetricsSummary
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 MetricsSummary
impl Debug for MetricsSummary
Source§impl<'de> Deserialize<'de> for MetricsSummary
impl<'de> Deserialize<'de> for MetricsSummary
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
Source§impl PartialEq for MetricsSummary
impl PartialEq for MetricsSummary
Source§impl Serialize for MetricsSummary
impl Serialize for MetricsSummary
impl StructuralPartialEq for MetricsSummary
Auto Trait Implementations§
impl Freeze for MetricsSummary
impl RefUnwindSafe for MetricsSummary
impl Send for MetricsSummary
impl Sync for MetricsSummary
impl Unpin for MetricsSummary
impl UnwindSafe for MetricsSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more