pub struct Record {
pub level: Level,
pub time: OffsetDateTime,
pub message: String,
}
Expand description
A log record.
Fields§
§level: Level
Log level used for this record
time: OffsetDateTime
Time this message was logged
message: String
Message content
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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