pub struct Record {
pub at_unix_nanos: u64,
pub level: &'static str,
pub target: String,
pub message: String,
pub seq: Option<u64>,
}Expand description
One log record, kept in memory for the dashboard and exported as an OTLP log record.
Fields§
§at_unix_nanos: u64§level: &'static str§target: String§message: String§seq: Option<u64>The sequence number this record is about, when there is one. This is the correlation key:
with it, any record points at a state beck replay can reproduce exactly.
Trait Implementations§
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