pub struct SdkRuntimeEvent {
pub session_id: String,
pub event: SdkEvent,
}Expand description
One runtime event paired with its durable SDK identity.
A transport may add a connection or subscription id around this value,
but those routing fields never become part of SdkEvent or a session.
Fields§
§session_id: StringStable SDK session identity, never a transport-local connection id.
event: SdkEventCanonical event shared by local and remote runtime adapters.
Trait Implementations§
Source§impl Clone for SdkRuntimeEvent
impl Clone for SdkRuntimeEvent
Source§fn clone(&self) -> SdkRuntimeEvent
fn clone(&self) -> SdkRuntimeEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SdkRuntimeEvent
impl Debug for SdkRuntimeEvent
Source§impl<'de> Deserialize<'de> for SdkRuntimeEvent
impl<'de> Deserialize<'de> for SdkRuntimeEvent
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 SdkRuntimeEvent
impl PartialEq for SdkRuntimeEvent
Source§impl Serialize for SdkRuntimeEvent
impl Serialize for SdkRuntimeEvent
impl StructuralPartialEq for SdkRuntimeEvent
Auto Trait Implementations§
impl Freeze for SdkRuntimeEvent
impl RefUnwindSafe for SdkRuntimeEvent
impl Send for SdkRuntimeEvent
impl Sync for SdkRuntimeEvent
impl Unpin for SdkRuntimeEvent
impl UnsafeUnpin for SdkRuntimeEvent
impl UnwindSafe for SdkRuntimeEvent
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