#[non_exhaustive]pub struct SessionNameChangedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub name: String,
pub name_origin: Option<SessionNameOrigin>,
pub generated_name: Option<String>,
}Expand description
session/nameChanged params: the fold of ANY durable session-name record —
the FIRST-NAMING automatic allocate as well as an accepted session/rename
(or the same in-process runtime command). Replace-wholesale like every
sibling.
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: StringOpaque, strictly monotonic view cursor.
source_range: SourceRangeThe durable records this event folded from.
name: StringThe new canonical name now in effect.
name_origin: Option<SessionNameOrigin>How the new name was set. Additive-optional: omitted when the emitting fold cannot prove an origin — absent reads as unknown, never fabricated.
generated_name: Option<String>The latest retained generated short title. Additive-optional:
carried at generated-pair publication and at settlement when a pair is
already published; omitted when no pair was ever published — absent
reads as unpublished, never fabricated. name stays canonical.