Struct glean::private::NumeratorMetric [−][src]
pub struct NumeratorMetric(_);
Developer-facing API for recording rate metrics with external denominators.
Instances of this class type are automatically generated by the parsers at build time, allowing developers to record values that were previously registered in the metrics.yaml file.
Implementations
impl NumeratorMetric
[src]
impl NumeratorMetric
[src]pub fn new(meta: CommonMetricData) -> Self
[src]
The public constructor used by automatically generated metrics.
impl NumeratorMetric
[src]
impl NumeratorMetric
[src]Trait Implementations
impl Clone for NumeratorMetric
[src]
impl Clone for NumeratorMetric
[src]fn clone(&self) -> NumeratorMetric
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for NumeratorMetric
impl RefUnwindSafe for NumeratorMetric
impl Send for NumeratorMetric
impl Send for NumeratorMetric
impl Sync for NumeratorMetric
impl Sync for NumeratorMetric
impl Unpin for NumeratorMetric
impl Unpin for NumeratorMetric
impl UnwindSafe for NumeratorMetric
impl UnwindSafe for NumeratorMetric