pub struct SumDataPoint<T> {
pub attributes: Vec<KeyValue>,
pub value: T,
pub exemplars: Vec<Exemplar<T>>,
}
Expand description
DataPoint is a single data point in a time series.
Fields§
§attributes: Vec<KeyValue>
Attributes is the set of key value pairs that uniquely identify the time series.
value: T
The value of this data point.
exemplars: Vec<Exemplar<T>>
The sampled Exemplars collected during the time series.
Trait Implementations§
Source§impl<T: Copy> Clone for SumDataPoint<T>
impl<T: Copy> Clone for SumDataPoint<T>
Source§impl<T: Debug> Debug for SumDataPoint<T>
impl<T: Debug> Debug for SumDataPoint<T>
Source§impl<T: PartialEq> PartialEq for SumDataPoint<T>
impl<T: PartialEq> PartialEq for SumDataPoint<T>
impl<T> StructuralPartialEq for SumDataPoint<T>
Auto Trait Implementations§
impl<T> Freeze for SumDataPoint<T>where
T: Freeze,
impl<T> RefUnwindSafe for SumDataPoint<T>where
T: RefUnwindSafe,
impl<T> Send for SumDataPoint<T>where
T: Send,
impl<T> Sync for SumDataPoint<T>where
T: Sync,
impl<T> Unpin for SumDataPoint<T>where
T: Unpin,
impl<T> UnwindSafe for SumDataPoint<T>where
T: UnwindSafe,
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