pub struct LogEvent<'a> {
pub level: LogLevel,
pub message: &'a str,
pub timestamp: SystemTime,
}Expand description
Log event containing all information about a log message
Fields§
§level: LogLevelThe level of the log event
message: &'a strThe message to log
timestamp: SystemTimeThe timestamp when the event occurred
Auto Trait Implementations§
impl<'a> Freeze for LogEvent<'a>
impl<'a> RefUnwindSafe for LogEvent<'a>
impl<'a> Send for LogEvent<'a>
impl<'a> Sync for LogEvent<'a>
impl<'a> Unpin for LogEvent<'a>
impl<'a> UnwindSafe for LogEvent<'a>
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