pub struct Event {
pub record_id: u64,
pub event_id: u32,
pub time_created: DateTime<Utc>,
pub provider: String,
pub channel: String,
pub xml: String,
pub data: HashMap<String, String>,
}Expand description
A parsed Windows event.
xml is the raw RenderedXml payload from EvtRender; every other field is derived
from it. Keep xml around when the caller wants to inspect UserData / raw payload
fields we did not lift into data.
Fields§
§record_id: u64§event_id: u32§time_created: DateTime<Utc>§provider: String§channel: String§xml: String§data: HashMap<String, String>Flattened <EventData><Data Name="…">value</Data></EventData> map.
Nameless <Data> elements land under keys Data_0, Data_1, ….
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 UnsafeUnpin 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