Skip to main content

Mountain/Vine/Client/
NotificationFrame.rs

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