pub struct SpanSetAttributeMessage<'a> {
pub span_id: SpanId,
pub attribute: KeyValue<'a>,
}Expand description
Message indicating an attribute has been set on a span.
Fields§
§span_id: SpanIdThe span the attribute is being set on
attribute: KeyValue<'a>The attribute being set
Trait Implementations§
Source§impl<'a> Clone for SpanSetAttributeMessage<'a>
impl<'a> Clone for SpanSetAttributeMessage<'a>
Source§fn clone(&self) -> SpanSetAttributeMessage<'a>
fn clone(&self) -> SpanSetAttributeMessage<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SpanSetAttributeMessage<'a>
impl<'a> Debug for SpanSetAttributeMessage<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for SpanSetAttributeMessage<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SpanSetAttributeMessage<'a>
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
Source§impl<'a> Serialize for SpanSetAttributeMessage<'a>
impl<'a> Serialize for SpanSetAttributeMessage<'a>
Source§impl ToStatic for SpanSetAttributeMessage<'_>
Available on crate feature alloc only.
impl ToStatic for SpanSetAttributeMessage<'_>
Available on crate feature
alloc only.Auto Trait Implementations§
impl<'a> Freeze for SpanSetAttributeMessage<'a>
impl<'a> RefUnwindSafe for SpanSetAttributeMessage<'a>
impl<'a> Send for SpanSetAttributeMessage<'a>
impl<'a> Sync for SpanSetAttributeMessage<'a>
impl<'a> Unpin for SpanSetAttributeMessage<'a>
impl<'a> UnwindSafe for SpanSetAttributeMessage<'a>
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