Struct opentelemetry::KeyValue
source · [−]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
sourceimpl From<KeyValue> for KeyValueMetadata
impl From<KeyValue> for KeyValueMetadata
sourceimpl FromIterator<KeyValue> for Baggage
impl FromIterator<KeyValue> for Baggage
sourcefn from_iter<I: IntoIterator<Item = KeyValue>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = KeyValue>>(iter: I) -> Self
Creates a value from an iterator. Read more
impl StructuralPartialEq for KeyValue
Auto Trait Implementations
impl RefUnwindSafe for KeyValue
impl Send for KeyValue
impl Sync for KeyValue
impl Unpin for KeyValue
impl UnwindSafe for KeyValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more