pub struct KeyValue {
pub key: Key,
pub value: Value,
}
Expand description
KeyValue
pairs are used by AttributeSet
s and Span
attributes.
Fields§
§key: Key
Dimension or event key
value: Value
Dimension or event value
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyValue
impl<'de> Deserialize<'de> for KeyValue
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