pub struct ExportMetric {
pub name: String,
pub metric_type: MetricType,
pub value: MetricValue,
pub labels: HashMap<String, String>,
pub timestamp: SystemTime,
}Expand description
Export metric format
Fields§
§name: String§metric_type: MetricType§value: MetricValue§labels: HashMap<String, String>§timestamp: SystemTimeTrait Implementations§
Source§impl Clone for ExportMetric
impl Clone for ExportMetric
Source§fn clone(&self) -> ExportMetric
fn clone(&self) -> ExportMetric
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 moreAuto Trait Implementations§
impl Freeze for ExportMetric
impl RefUnwindSafe for ExportMetric
impl Send for ExportMetric
impl Sync for ExportMetric
impl Unpin for ExportMetric
impl UnwindSafe for ExportMetric
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