pub struct LogMetadata {
pub severity: LogSeverity,
pub verbosity: bool,
pub msg: String,
pub file_name: &'static str,
pub fn_name: &'static str,
pub line_number: u32,
}
Fields
severity: LogSeverity
verbosity: bool
msg: String
file_name: &'static str
fn_name: &'static str
line_number: u32
Implementations
sourceimpl LogMetadata
impl LogMetadata
pub fn new(
severity: LogSeverity,
verbosity: bool,
msg: String,
file_name: &'static str,
fn_name: &'static str,
line_number: u32
) -> Self
Auto Trait Implementations
impl RefUnwindSafe for LogMetadata
impl Send for LogMetadata
impl Sync for LogMetadata
impl Unpin for LogMetadata
impl UnwindSafe for LogMetadata
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more