pub struct MetricPoint {
pub name: String,
pub labels: HashMap<String, String>,
pub value: f64,
pub timestamp: DateTime<Utc>,
}Fields§
§name: String§labels: HashMap<String, String>§value: f64§timestamp: DateTime<Utc>Trait Implementations§
Source§impl Clone for MetricPoint
impl Clone for MetricPoint
Source§fn clone(&self) -> MetricPoint
fn clone(&self) -> MetricPoint
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 MetricPoint
impl Debug for MetricPoint
Source§impl<'de> Deserialize<'de> for MetricPoint
impl<'de> Deserialize<'de> for MetricPoint
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 MetricPoint
impl RefUnwindSafe for MetricPoint
impl Send for MetricPoint
impl Sync for MetricPoint
impl Unpin for MetricPoint
impl UnsafeUnpin for MetricPoint
impl UnwindSafe for MetricPoint
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