pub fn metric<S, T>(mut self, key: S, value: T) -> Self
    where
        S: Into<String>,
        T: Into<String>,
    {
        self.metrics.insert(key.into(), value.into());
        self
    }
/// Add a metric to the configuration
Add a metric to the configuration
Add a metric to the configuration
pub fn metric<S, T>(mut self, key: S, value: T) -> Self
    where
        S: Into<String>,
        T: Into<String>,
    {
        self.metrics.insert(key.into(), value.into());
        self
    }
pub fn metric < S , T > ( mut self , key : S , value : T ) -> Self where S : Into < String > , T : Into < String > , { self . metrics . insert ( key . into ( ) , value . into ( ) ) ; self }
Add a metric to the configuration
Add a metric to the configuration
mut self
key
S
value
T