pub struct LogEvent {
pub level: String,
pub target: String,
pub message: String,
pub context: BTreeMap<String, Value>,
pub trace_id: Option<String>,
pub span_id: Option<String>,
pub event_metadata: Option<EventMetadata>,
}Fields§
§level: String§target: String§message: String§context: BTreeMap<String, Value>§trace_id: Option<String>§span_id: Option<String>§event_metadata: Option<EventMetadata>Trait Implementations§
impl StructuralPartialEq for LogEvent
Auto Trait Implementations§
impl Freeze for LogEvent
impl RefUnwindSafe for LogEvent
impl Send for LogEvent
impl Sync for LogEvent
impl Unpin for LogEvent
impl UnsafeUnpin for LogEvent
impl UnwindSafe for LogEvent
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