pub struct StreamedActivityEvent {
pub kind: String,
pub event: ActivityEvent,
}Expand description
Server -> client frame wrapping a single aion_core::ActivityEvent on the
agent-observability transcript channel (NOI-5b).
Mirrors StreamedClusterEvent for the transcript path: the inner
aion-core type is the only thing that crosses the ts-rs boundary; this
outer envelope is hand-decoded on the TS side. A persisted event carries its
commit-allocated store_seq; an ephemeral token delta carries store_seq: None and is forwarded live but never replayed.
Fields§
§kind: StringFrame discriminator pinned to "activity_event" so the ops console’s
hand-written frame parser can branch a transcript event apart from an
{"error": ...} terminal frame.
event: ActivityEventThe transcript event.
Implementations§
Trait Implementations§
Source§impl Clone for StreamedActivityEvent
impl Clone for StreamedActivityEvent
Source§fn clone(&self) -> StreamedActivityEvent
fn clone(&self) -> StreamedActivityEvent
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<'de> Deserialize<'de> for StreamedActivityEvent
impl<'de> Deserialize<'de> for StreamedActivityEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StreamedActivityEvent
impl PartialEq for StreamedActivityEvent
Source§impl Serialize for StreamedActivityEvent
impl Serialize for StreamedActivityEvent
impl StructuralPartialEq for StreamedActivityEvent
Auto Trait Implementations§
impl Freeze for StreamedActivityEvent
impl RefUnwindSafe for StreamedActivityEvent
impl Send for StreamedActivityEvent
impl Sync for StreamedActivityEvent
impl Unpin for StreamedActivityEvent
impl UnsafeUnpin for StreamedActivityEvent
impl UnwindSafe for StreamedActivityEvent
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