pub struct EventDetail {
pub id: i64,
pub session_id: String,
pub ts_ms: i64,
pub kind: EventKind,
pub step: Option<i64>,
pub correlates: Option<i64>,
pub summary: String,
pub body_json: Option<Value>,
pub file_change: Option<FileChange>,
}Expand description
A fully-loaded event, fetched lazily for the selected row (FR-3.5). Unlike
EventIndexRow, body_json here is display-ready: a blob-overflowed
payload has already been resolved (fetched + decompressed) by
crate::store::Store::get_event_detail so callers never see the raw
{"overflow": true, ...} envelope.
Fields§
§id: i64The event row id.
session_id: StringOwning session id.
ts_ms: i64Milliseconds since session start.
kind: EventKindEvent kind.
step: Option<i64>1-based step ordinal, or None for non-step events.
correlates: Option<i64>Correlated event id.
summary: StringOne-line summary.
body_json: Option<Value>Kind-specific structured payload, resolved from the blob store if it had overflowed inline storage.
file_change: Option<FileChange>The attached file_changes row, present only for kind == FileChange.
Trait Implementations§
Source§impl Clone for EventDetail
impl Clone for EventDetail
Source§fn clone(&self) -> EventDetail
fn clone(&self) -> EventDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventDetail
impl RefUnwindSafe for EventDetail
impl Send for EventDetail
impl Sync for EventDetail
impl Unpin for EventDetail
impl UnsafeUnpin for EventDetail
impl UnwindSafe for EventDetail
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