pub struct EventRow {
pub id: i64,
pub session_id: String,
pub ts_ms: i64,
pub kind: EventKind,
pub step: Option<i64>,
pub correlates: Option<i64>,
}Expand description
An event row read back from the DB (input to the FR-3.4 step pass).
Unlike Event (the append form), this carries the DB row id so the
step pass can express correlation by id and the store can write the
assigned step back to the right row.
Fields§
§id: i64The event row id (events.id).
session_id: StringOwning session id (full UUID string).
ts_ms: i64Milliseconds since session start.
kind: EventKindEvent kind.
step: Option<i64>1-based step ordinal, or None for non-step events (FR-3.4).
correlates: Option<i64>Correlated event id (e.g. tool_result → tool_call).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventRow
impl RefUnwindSafe for EventRow
impl Send for EventRow
impl Sync for EventRow
impl Unpin for EventRow
impl UnsafeUnpin for EventRow
impl UnwindSafe for EventRow
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