pub struct EventRef {
pub timestamp: i64,
pub id: Option<String>,
}Expand description
A lightweight event reference: timestamp plus optional event ID.
Used in Refs mode for memory-efficient correlation event tracking.
Each ref costs ~40 bytes (vs. 100–1000+ bytes for compressed events),
making this mode suitable for high-volume correlations where only
traceability is needed.
Fields§
§timestamp: i64Event timestamp (epoch seconds).
id: Option<String>Event ID extracted from common fields (id, _id, event_id, etc.).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventRef
impl RefUnwindSafe for EventRef
impl Send for EventRef
impl Sync for EventRef
impl Unpin for EventRef
impl UnsafeUnpin for EventRef
impl UnwindSafe for EventRef
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