pub struct RawEventRow {
pub id: i64,
pub ts_ms: i64,
pub kind: EventKind,
pub step: Option<i64>,
pub correlates: Option<i64>,
pub summary: String,
pub body_json: Option<Value>,
pub blob_hash: Option<String>,
pub blob_size: Option<u64>,
pub file_change: Option<FileChange>,
}Expand description
One event row exactly as stored — no blob-overflow resolution (unlike
EventDetail). Used by hh-core::bundle (hh export --bundle), which
must carry every referenced blob byte-for-byte rather than inlining only
the ones that happen to resolve as JSON (see
crate::store::Store::for_each_event_raw).
Fields§
§id: i64The event row 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, exactly as stored (may be an
unresolved {"overflow": true, ...} envelope).
blob_hash: Option<String>Blob hash referenced by this event’s events.blob_hash column, if any.
blob_size: Option<u64>Uncompressed size of the referenced blob, if blob_hash is set.
file_change: Option<FileChange>The attached file_changes row, present only for kind == FileChange.
Trait Implementations§
Source§impl Clone for RawEventRow
impl Clone for RawEventRow
Source§fn clone(&self) -> RawEventRow
fn clone(&self) -> RawEventRow
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 RawEventRow
impl RefUnwindSafe for RawEventRow
impl Send for RawEventRow
impl Sync for RawEventRow
impl Unpin for RawEventRow
impl UnsafeUnpin for RawEventRow
impl UnwindSafe for RawEventRow
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