pub struct ThreadEventNotification {
pub session_id: String,
pub turn_id: Option<String>,
pub event: VersionedThreadEvent,
}Expand description
Canonical runtime event notification.
Fields§
§session_id: StringSession owning the event.
turn_id: Option<String>Turn identity when the event is turn scoped.
event: VersionedThreadEventAuthoritative, schema-versioned runtime event.
Trait Implementations§
Source§impl Clone for ThreadEventNotification
impl Clone for ThreadEventNotification
Source§impl Debug for ThreadEventNotification
impl Debug for ThreadEventNotification
Source§impl<'de> Deserialize<'de> for ThreadEventNotification
impl<'de> Deserialize<'de> for ThreadEventNotification
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
Source§impl PartialEq for ThreadEventNotification
impl PartialEq for ThreadEventNotification
Source§impl Serialize for ThreadEventNotification
impl Serialize for ThreadEventNotification
impl StructuralPartialEq for ThreadEventNotification
Auto Trait Implementations§
impl Forget for ThreadEventNotification
impl Freeze for ThreadEventNotification
impl RefUnwindSafe for ThreadEventNotification
impl Send for ThreadEventNotification
impl Sync for ThreadEventNotification
impl Unpin for ThreadEventNotification
impl UnsafeUnpin for ThreadEventNotification
impl UnwindSafe for ThreadEventNotification
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