Function from_metric_type

Source
fn from_metric_type(data: &Data) -> MetricType