pub struct SpanAttribute {
pub key: String,
pub value: String,
}Expand description
A key-value attribute attached to a span.
Fields§
§key: StringAttribute key.
value: StringAttribute value.
Implementations§
Trait Implementations§
Source§impl Clone for SpanAttribute
impl Clone for SpanAttribute
Source§fn clone(&self) -> SpanAttribute
fn clone(&self) -> SpanAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpanAttribute
impl Debug for SpanAttribute
Source§impl PartialEq for SpanAttribute
impl PartialEq for SpanAttribute
impl StructuralPartialEq for SpanAttribute
Auto Trait Implementations§
impl Freeze for SpanAttribute
impl RefUnwindSafe for SpanAttribute
impl Send for SpanAttribute
impl Sync for SpanAttribute
impl Unpin for SpanAttribute
impl UnsafeUnpin for SpanAttribute
impl UnwindSafe for SpanAttribute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more