Skip to main content

Mountain/Vine/Client/
NotificationFrame.rs

1
2//! One observed notification frame fanned out from `SendNotification`
3//! (or, once the streaming-channel multiplexer is live, from
4//! `Multiplexer`). Subscribers consume frames from the broadcast channel
5//! managed by `Shared::NOTIFICATION_BROADCAST`.
6
7use serde_json::Value;
8
9#[derive(Debug, Clone)]
10pub struct Struct {
11	pub SideCarIdentifier:String,
12
13	pub Method:String,
14
15	pub Parameters:Value,
16
17	/// Monotonic process-relative nanosecond timestamp at fan-out time.
18	/// Useful for OTel span correlation without burning a
19	/// `SystemTime::now()` per frame.
20	pub TimestampNanos:u64,
21}