pub struct EventMeta {
pub message: String,
pub target: String,
pub level: String,
pub file: Option<String>,
pub line: Option<u32>,
pub fields: Vec<Field>,
pub parent_span_id: Option<u64>,
}Expand description
Metadata about an event.
Fields§
§message: StringEvent message (from the message field if present)
target: StringTarget (module path)
level: StringLevel as string
file: Option<String>Source file, if available
line: Option<u32>Line number, if available
fields: Vec<Field>All fields including message
parent_span_id: Option<u64>Parent span ID if inside a span
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventMeta
impl RefUnwindSafe for EventMeta
impl Send for EventMeta
impl Sync for EventMeta
impl Unpin for EventMeta
impl UnwindSafe for EventMeta
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)