Struct logid::id_entry::LogIdEntry
source · pub struct LogIdEntry {
pub id: LogId,
pub level: EventLevel,
pub msg: String,
pub infos: Vec<String>,
pub debugs: Vec<String>,
pub traces: Vec<String>,
pub origin: Origin,
pub span: &'static str,
/* private fields */
}
Expand description
Structure to capture all messages set for a log-id.
Fields
id: LogId
The log-id of this entry
level: EventLevel
The level of the log-id of this entry
msg: String
The main message set when creating the log-id entry
infos: Vec<String>
List of additional informations for this log-id entry
debugs: Vec<String>
List of additional debug informations for this log-id entry
traces: Vec<String>
List of additional trace information for this log-id entry
origin: Origin
Code position where the log-id entry was created
span: &'static str
Name of the span that was current when the log-id event was set
Implementations
sourceimpl LogIdEntry
impl LogIdEntry
Trait Implementations
sourceimpl Clone for LogIdEntry
impl Clone for LogIdEntry
sourcefn clone(&self) -> LogIdEntry
fn clone(&self) -> LogIdEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for LogIdEntry
impl Send for LogIdEntry
impl Sync for LogIdEntry
impl Unpin for LogIdEntry
impl UnwindSafe for LogIdEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more