pub struct LogRecord {
pub level: LogLevel,
pub target: String,
pub message: String,
pub timestamp_ms: u64,
}Expand description
One runtime log record.
Fields§
§level: LogLevelRecord severity.
target: StringStable Runtime subsystem target.
message: StringNon-sensitive message subject to redaction.
timestamp_ms: u64Timestamp in Unix milliseconds.
Trait Implementations§
impl Eq for LogRecord
impl StructuralPartialEq for LogRecord
Auto Trait Implementations§
impl Freeze for LogRecord
impl RefUnwindSafe for LogRecord
impl Send for LogRecord
impl Sync for LogRecord
impl Unpin for LogRecord
impl UnsafeUnpin for LogRecord
impl UnwindSafe for LogRecord
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