pub struct LogRecord {Show 13 fields
pub session_id: String,
pub timestamp_unix_nanos: i64,
pub observed_timestamp_unix_nanos: Option<i64>,
pub severity_text: Option<String>,
pub severity_number: Option<i64>,
pub body: Option<String>,
pub body_json: Option<Value>,
pub trace_id: Option<String>,
pub span_id: Option<String>,
pub scope_name: Option<String>,
pub scope_version: Option<String>,
pub attributes: Value,
pub source: TelemetrySource,
}Fields§
§session_id: String§timestamp_unix_nanos: i64§observed_timestamp_unix_nanos: Option<i64>§severity_text: Option<String>§severity_number: Option<i64>§body: Option<String>§body_json: Option<Value>§trace_id: Option<String>§span_id: Option<String>§scope_name: Option<String>§scope_version: Option<String>§attributes: Value§source: TelemetrySourceTrait 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 UnsafeUnpin 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