pub struct ActiveMetricRestriction {
pub metric_name: Option<String>,
pub restricted_metric_types: Option<Vec<String>>,
}Expand description
A metric actively restricted in creating the report.
This type is not used in any activity, and only used as part of another schema.
Fields§
§metric_name: Option<String>The name of the restricted metric.
restricted_metric_types: Option<Vec<String>>The reason for this metric’s restriction.
Trait Implementations§
source§impl Clone for ActiveMetricRestriction
impl Clone for ActiveMetricRestriction
source§fn clone(&self) -> ActiveMetricRestriction
fn clone(&self) -> ActiveMetricRestriction
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 ActiveMetricRestriction
impl Debug for ActiveMetricRestriction
source§impl Default for ActiveMetricRestriction
impl Default for ActiveMetricRestriction
source§fn default() -> ActiveMetricRestriction
fn default() -> ActiveMetricRestriction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActiveMetricRestriction
impl<'de> Deserialize<'de> for ActiveMetricRestriction
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