pub struct ActivityRecord {
pub store_seq: u64,
pub event: ActivityEvent,
}Expand description
A durably persisted observability event: an ActivityEvent with its
server-stamped store_seq guaranteed present.
The wire envelope carries store_seq: Option<u64> (None until persisted);
once read back from the O keyspace the sequence is always present, so this
record exposes it as a non-optional field alongside the event.
Fields§
§store_seq: u64The monotonic, server-allocated sequence assigned at durable commit.
event: ActivityEventThe persisted event. Its store_seq field is populated to match
Self::store_seq so a record read back is self-describing.
Trait Implementations§
Source§impl Clone for ActivityRecord
impl Clone for ActivityRecord
Source§fn clone(&self) -> ActivityRecord
fn clone(&self) -> ActivityRecord
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 moreSource§impl Debug for ActivityRecord
impl Debug for ActivityRecord
Source§impl PartialEq for ActivityRecord
impl PartialEq for ActivityRecord
impl StructuralPartialEq for ActivityRecord
Auto Trait Implementations§
impl Freeze for ActivityRecord
impl RefUnwindSafe for ActivityRecord
impl Send for ActivityRecord
impl Sync for ActivityRecord
impl Unpin for ActivityRecord
impl UnsafeUnpin for ActivityRecord
impl UnwindSafe for ActivityRecord
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