pub struct LogRow {
pub id: LogId,
pub timestamp: DateTime<Utc>,
pub level: String,
pub module: String,
pub message: String,
pub metadata: Option<String>,
pub user_id: Option<String>,
pub session_id: Option<String>,
pub task_id: Option<String>,
pub trace_id: Option<String>,
pub context_id: Option<String>,
pub client_id: Option<String>,
}Fields§
§id: LogId§timestamp: DateTime<Utc>§level: String§module: String§message: String§metadata: Option<String>§user_id: Option<String>§session_id: Option<String>§task_id: Option<String>§trace_id: Option<String>§context_id: Option<String>§client_id: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogRow
impl RefUnwindSafe for LogRow
impl Send for LogRow
impl Sync for LogRow
impl Unpin for LogRow
impl UnwindSafe for LogRow
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more