pub struct LogRecord {
pub ts: DateTime<Utc>,
pub service: String,
pub severity: i32,
pub trace_id: Option<String>,
pub span_id: Option<String>,
pub body: String,
pub attrs_json: String,
pub attrs_text: String,
}Fields§
§ts: DateTime<Utc>§service: String§severity: i32§trace_id: Option<String>§span_id: Option<String>§body: String§attrs_json: String§attrs_text: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for LogRecord
impl<'de> Deserialize<'de> for LogRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LogRecord
Auto Trait Implementations§
impl Freeze for LogRecord
impl RefUnwindSafe for LogRecord
impl Send for LogRecord
impl Sync for LogRecord
impl Unpin for LogRecord
impl UnwindSafe for LogRecord
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