pub struct MetricPayload {
pub time: i64,
pub element_id: u64,
pub metric_ids: Vec<u32>,
pub values: Vec<Option<f32>>,
}
Fields§
§time: i64
§element_id: u64
§metric_ids: Vec<u32>
§values: Vec<Option<f32>>
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<MetricPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MetricPayload
impl Serialize for MetricPayload
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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