pub fn attr(mut self, key: impl Into<String>, value: impl Into<String>) -> Self {
        self.attributes.push(Attribute {
            key: key.into(),
            value: value.into(),
        });
        self
    }
/// Add an attribute to the event.
Add an attribute to the event.
Add an attribute to the event .
pub fn attr(mut self, key: impl Into<String>, value: impl Into<String>) -> Self {
        self.attributes.push(Attribute {
            key: key.into(),
            value: value.into(),
        });
        self
    }
pub fn attr ( mut self , key : impl Into < String > , value : impl Into < String > ) -> Self { self . attributes . push ( Attribute { key : key . into ( ) , value : value . into ( ) , } ) ; self }
Add an attribute to the event.
Add an attribute to the event .
mut self
key
impl Into<String>
value
impl Into<String>
mut self
key
impl Into<String>
value
impl Into<String>