pub struct MetricItem {
pub id: String,
pub value: f64,
}Fields§
§id: String§value: f64Trait Implementations§
Source§impl Clone for MetricItem
impl Clone for MetricItem
Source§fn clone(&self) -> MetricItem
fn clone(&self) -> MetricItem
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 MetricItem
impl Debug for MetricItem
Auto Trait Implementations§
impl Freeze for MetricItem
impl RefUnwindSafe for MetricItem
impl Send for MetricItem
impl Sync for MetricItem
impl Unpin for MetricItem
impl UnsafeUnpin for MetricItem
impl UnwindSafe for MetricItem
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