pub fn with_tag<K, V>(mut self, key: K, value: V) -> MetricId
    where
        K: Into<Cow<'static, str>>,
        V: Into<Cow<'static, str>>,
    {
        self.tags.0.insert(key.into(), value.into());
        self
    }
/// A builder-style method adding a tag to the metric ID.
A builder-style method adding a tag to the metric ID.
A builder - style method adding a tag to the metric ID .
pub fn with_tag<K, V>(mut self, key: K, value: V) -> MetricId
    where
        K: Into<Cow<'static, str>>,
        V: Into<Cow<'static, str>>,
    {
        self.tags.0.insert(key.into(), value.into());
        self
    }
pub fn with_tag < K , V > ( mut self , key : K , value : V ) -> MetricId where K : Into < Cow < ' static , str > > , V : Into < Cow < ' static , str > > , { self . tags . 0 . insert ( key . into ( ) , value . into ( ) ) ; self }
A builder-style method adding a tag to the metric ID.
A builder - style method adding a tag to the metric ID .
mut self
key
K
value
V
mut self
key
K
value
V