Struct glean_core::metrics::MetricsDisabledConfig
source · pub struct MetricsDisabledConfig {
pub metrics_disabled: HashMap<String, bool>,
}
Expand description
Represents a list of metrics and their associated disabled
property from the
remote-settings configuration store. The expected format of this data is stringified
JSON in the following format:
{
"category.metric_name": true
}
Fields§
§metrics_disabled: HashMap<String, bool>
This is a HashMap
consisting of base_identifiers as keys
and bool values representing an override for the disabled
property of the metric
Implementations§
Trait Implementations§
source§impl Clone for MetricsDisabledConfig
impl Clone for MetricsDisabledConfig
source§fn clone(&self) -> MetricsDisabledConfig
fn clone(&self) -> MetricsDisabledConfig
Returns a copy 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 moresource§impl Debug for MetricsDisabledConfig
impl Debug for MetricsDisabledConfig
source§impl Default for MetricsDisabledConfig
impl Default for MetricsDisabledConfig
source§fn default() -> MetricsDisabledConfig
fn default() -> MetricsDisabledConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MetricsDisabledConfig
impl<'de> Deserialize<'de> for MetricsDisabledConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more