pub struct NewEvent {
pub kind: SourceKind,
pub resource_key: ResourceKey,
pub timestamp: Timestamp,
pub span_id: Option<FullSpanId>,
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
§span_id: Option<FullSpanId>
§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>
Auto Trait Implementations§
impl Freeze for NewEvent
impl RefUnwindSafe for NewEvent
impl Send for NewEvent
impl Sync for NewEvent
impl Unpin for NewEvent
impl UnwindSafe for NewEvent
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