#[non_exhaustive]pub struct SessionStartedParams {
pub session: Session,
}Expand description
session/started params: a session became newly loaded on this host via
session/start, session/fork, or session/sideChat, broadcast to every
initialized connection.
The one member is the same $defs/Session object the
session/start/session/fork results carry, so the broadcast and the
result describe one fact through one type — the host builds the broadcast
payload as a $defs/Session — the fresh-start arm reuses the result’s
session member, the start-replay arm builds the live attach snapshot —
and the emission is
parity-gated against this type at the producer
(session-server prod-assembly capture) and over the committed
transcript corpus (conformance session_lifecycle_enrollment).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session: SessionThe newly loaded session, as of the start/fork fold.
Trait Implementations§
Source§impl Clone for SessionStartedParams
impl Clone for SessionStartedParams
Source§impl Debug for SessionStartedParams
impl Debug for SessionStartedParams
Source§impl<'de> Deserialize<'de> for SessionStartedParams
impl<'de> Deserialize<'de> for SessionStartedParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionStartedParams
Source§impl PartialEq for SessionStartedParams
impl PartialEq for SessionStartedParams
Source§impl Serialize for SessionStartedParams
impl Serialize for SessionStartedParams
impl StructuralPartialEq for SessionStartedParams
Auto Trait Implementations§
impl Forget for SessionStartedParams
impl Freeze for SessionStartedParams
impl Move for SessionStartedParams
impl RefUnwindSafe for SessionStartedParams
impl Send for SessionStartedParams
impl Sync for SessionStartedParams
impl Unpin for SessionStartedParams
impl UnsafeUnpin for SessionStartedParams
impl UnwindSafe for SessionStartedParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more