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 BooleanMetricimpl Send for BooleanMetricimpl Sync for BooleanMetricimpl Unpin for BooleanMetricimpl UnwindSafe for BooleanMetricBlanket Implementations
Mutably borrows from an owned value. Read more