pub struct EndpointMetric {
pub data: Vec<Vec<i64>>,
pub tag: String,
}Expand description
A single metric series, consisting of a descriptive tag and timestamped data points.
Fields§
§data: Vec<Vec<i64>>Data points, each as [timestamp, value].
tag: StringHuman-readable tag identifying the series.
Trait Implementations§
Source§impl Clone for EndpointMetric
impl Clone for EndpointMetric
Source§fn clone(&self) -> EndpointMetric
fn clone(&self) -> EndpointMetric
Returns a duplicate 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 EndpointMetric
impl Debug for EndpointMetric
Source§impl<'de> Deserialize<'de> for EndpointMetric
impl<'de> Deserialize<'de> for EndpointMetric
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
Auto Trait Implementations§
impl Freeze for EndpointMetric
impl RefUnwindSafe for EndpointMetric
impl Send for EndpointMetric
impl Sync for EndpointMetric
impl Unpin for EndpointMetric
impl UnsafeUnpin for EndpointMetric
impl UnwindSafe for EndpointMetric
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