pub struct LogEntry {
pub timestamp: Instant,
pub level: LogLevel,
pub target: &'static str,
pub message: String,
pub trace_context: Option<TraceContext>,
pub fields: Vec<(String, LogValue)>,
}Fields§
§timestamp: Instant§level: LogLevel§target: &'static str§message: String§trace_context: Option<TraceContext>§fields: Vec<(String, LogValue)>Implementations§
Trait Implementations§
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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