pub struct EventLogEntry {
pub kind: EventLogKind,
pub ts: DateTime<Utc>,
pub host_id: Option<String>,
pub rollout_id: Option<String>,
pub payload: String,
}Fields§
§kind: EventLogKind§ts: DateTime<Utc>Caller-supplied timestamp. Must come from a ClockHandle, not
Utc::now() ad-hoc — the table has no SQL DEFAULT so test
fixtures using FakeClock cannot accidentally produce rows
timestamped with wallclock-now while the reducer’s now is
frozen elsewhere.
host_id: Option<String>§rollout_id: Option<String>§payload: StringJSON-encoded payload. Producer-side responsibility to canonicalise
per RFC-0003 §3 if cross-version-stable hashing matters; the table
itself just stores opaque text. append() validates that this
parses as JSON before inserting — a malformed row would poison the
replay tool permanently and silently.
Trait Implementations§
Source§impl Clone for EventLogEntry
impl Clone for EventLogEntry
Source§fn clone(&self) -> EventLogEntry
fn clone(&self) -> EventLogEntry
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 Freeze for EventLogEntry
impl RefUnwindSafe for EventLogEntry
impl Send for EventLogEntry
impl Sync for EventLogEntry
impl Unpin for EventLogEntry
impl UnwindSafe for EventLogEntry
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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