#[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 each event type adds. The v1 schema
model names no method-correlated union (the events element’s params arm
is selected by its sibling method), so the per-event arms cannot be
expressed here without one, and an uncorrelated union of them could reject a
real page element, which a published schema must not do.
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.