Struct glean_core::metrics::BooleanMetric [−][src]
pub struct BooleanMetric { /* fields omitted */ }
Expand description
A boolean metric.
Records a simple flag.
Implementations
Creates a new boolean metric.
Sets to the specified boolean value.
Arguments
glean
- the Glean instance this metric belongs to.value
- the value to set.
Trait Implementations
Access the stored metadata
Access the stored metadata mutable
Whether this metric should currently be recorded Read more
Auto Trait Implementations
impl RefUnwindSafe for BooleanMetric
impl Send for BooleanMetric
impl Sync for BooleanMetric
impl Unpin for BooleanMetric
impl UnwindSafe for BooleanMetric
Blanket Implementations
Mutably borrows from an owned value. Read more