pub struct LogEntry {
pub timestamp: i64,
pub severity: String,
pub severity_text: Option<String>,
pub body: String,
pub attributes: HashMap<String, String>,
pub resource: Option<Resource>,
pub trace_id: Option<String>,
pub span_id: Option<String>,
}Expand description
Individual log entry for API response
Fields§
§timestamp: i64§severity: String§severity_text: Option<String>§body: String§attributes: HashMap<String, String>§resource: Option<Resource>§trace_id: Option<String>§span_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogEntry
impl<'de> Deserialize<'de> for LogEntry
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
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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