pub struct SpanAttributes {
pub span_id: SpanId,
pub attributes: Vec<Attribute>,
}Expand description
Attributes applied by end before the span is closed.
Fields§
§span_id: SpanId§attributes: Vec<Attribute>Trait Implementations§
Source§impl Clone for SpanAttributes
impl Clone for SpanAttributes
Auto Trait Implementations§
impl Freeze for SpanAttributes
impl RefUnwindSafe for SpanAttributes
impl Send for SpanAttributes
impl Sync for SpanAttributes
impl Unpin for SpanAttributes
impl UnsafeUnpin for SpanAttributes
impl UnwindSafe for SpanAttributes
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