pub struct MetricPayload {
pub time: Timestamp,
pub element_id: ElementId,
pub metric_ids: Vec<MetricId>,
pub values: Vec<Option<MetricValue>>,
}
Fields§
§time: Timestamp
§element_id: ElementId
§metric_ids: Vec<MetricId>
§values: Vec<Option<MetricValue>>
Implementations§
Trait Implementations§
Source§impl Clone for MetricPayload
impl Clone for MetricPayload
Source§fn clone(&self) -> MetricPayload
fn clone(&self) -> MetricPayload
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 MetricPayload
impl Debug for MetricPayload
Source§impl<'de> Deserialize<'de> for MetricPayload
impl<'de> Deserialize<'de> for MetricPayload
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 MetricPayload
impl RefUnwindSafe for MetricPayload
impl Send for MetricPayload
impl Sync for MetricPayload
impl Unpin for MetricPayload
impl UnwindSafe for MetricPayload
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