pub struct Event {Show 13 fields
pub kind: SourceKind,
pub resource_key: ResourceKey,
pub timestamp: Timestamp,
pub parent_id: Option<FullSpanId>,
pub parent_key: Option<SpanKey>,
pub content: Value,
pub namespace: Option<String>,
pub function: Option<String>,
pub level: Level,
pub file_name: Option<String>,
pub file_line: Option<u32>,
pub file_column: Option<u32>,
pub attributes: BTreeMap<String, Value>,
}
Fields§
§kind: SourceKind
§resource_key: ResourceKey
§timestamp: Timestamp
§parent_id: Option<FullSpanId>
§parent_key: Option<SpanKey>
§content: Value
§namespace: Option<String>
§function: Option<String>
§level: Level
§file_name: Option<String>
§file_line: Option<u32>
§file_column: Option<u32>
§attributes: BTreeMap<String, Value>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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