pub struct TimelineEntry<T> {
pub event: T,
pub time_ms: u64,
pub source: String,
pub seq: u64,
}Expand description
A single entry in an append-only event timeline.
Fields§
§event: TThe event payload.
time_ms: u64Simulation time in milliseconds when the event was emitted.
source: StringIP address of the emitter.
seq: u64Global sequence number (monotonically increasing across all timelines).
Trait Implementations§
Source§impl<T: Clone> Clone for TimelineEntry<T>
impl<T: Clone> Clone for TimelineEntry<T>
Source§fn clone(&self) -> TimelineEntry<T>
fn clone(&self) -> TimelineEntry<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for TimelineEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for TimelineEntry<T>where
T: RefUnwindSafe,
impl<T> Send for TimelineEntry<T>where
T: Send,
impl<T> Sync for TimelineEntry<T>where
T: Sync,
impl<T> Unpin for TimelineEntry<T>where
T: Unpin,
impl<T> UnsafeUnpin for TimelineEntry<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for TimelineEntry<T>where
T: UnwindSafe,
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