Struct cdp::performance::Metric
[−]
[src]
pub struct Metric<'a> {
pub name: Cow<'a, str>,
pub value: f64,
}[Experimental] Run-time execution metric.
Fields
name: Cow<'a, str>
Metric name.
value: f64
Metric value.
Trait Implementations
impl<'a> Clone for Metric<'a>[src]
fn clone(&self) -> Metric<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more