pub struct Item {
pub timestamp: SystemTime,
pub severity: Severity,
pub body: String,
pub attributes: BTreeMap<String, String>,
pub resource: BTreeMap<String, String>,
pub trace_id: Option<String>,
pub span_id: Option<String>,
}Fields§
§timestamp: SystemTime§severity: Severity§body: String§attributes: BTreeMap<String, String>§resource: BTreeMap<String, String>§trace_id: Option<String>§span_id: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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