#[non_exhaustive]pub struct UnframedViewNotificationParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
}Expand description
The params of an unframed view notification.
Declares the base members every view notification carries, and stays
open for the event-specific fields the protocol’s sections add per event
type. The v1 schema model names no method-correlated union, so the per-event
arms cannot be expressed here without one; enumerating them as an
uncorrelated union would additionally exclude turn/unqueued, whose
notification row is another lane’s ratified deferral — a published schema
that rejects a real page element is the exact defect this PR exists to
close. Recorded as a Design delta on a tracked change.
sourceRange is required here and not optional: view/page serves
durable-sourced events only, and durable-sourced is defined as carrying a
sourceRange — the ephemeral-sourced exemption applies to item/delta,
which view/page never replays.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe owning session.
view_cursor: StringThe event’s opaque, strictly monotonic view cursor. It stays inside
params, where every live notification already carries it — nothing is
spliced beside method.
source_range: SourceRangeThe durable records this event folded from.