pub struct LogMsg {
pub level: Level,
pub target: String,
pub msg: String,
}
Fields§
§level: Level
The verbosity level.
target: String
The module, starting with the crate name.
msg: String
The contents of the log message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogMsg
impl RefUnwindSafe for LogMsg
impl Send for LogMsg
impl Sync for LogMsg
impl Unpin for LogMsg
impl UnwindSafe for LogMsg
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)