pub struct NewCreateSpanEvent {
pub kind: SourceKind,
pub resource_key: ResourceKey,
pub parent_id: Option<FullSpanId>,
pub name: String,
pub namespace: Option<String>,
pub function: Option<String>,
pub level: Level,
pub file_name: Option<String>,
pub file_line: Option<u32>,
pub file_column: Option<u32>,
pub instrumentation_attributes: BTreeMap<String, Value>,
pub attributes: BTreeMap<String, Value>,
}
Fields§
§kind: SourceKind
§resource_key: ResourceKey
§parent_id: Option<FullSpanId>
§name: String
§namespace: Option<String>
§function: Option<String>
§level: Level
§file_name: Option<String>
§file_line: Option<u32>
§file_column: Option<u32>
§instrumentation_attributes: BTreeMap<String, Value>
§attributes: BTreeMap<String, Value>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewCreateSpanEvent
impl RefUnwindSafe for NewCreateSpanEvent
impl Send for NewCreateSpanEvent
impl Sync for NewCreateSpanEvent
impl Unpin for NewCreateSpanEvent
impl UnwindSafe for NewCreateSpanEvent
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