pub struct SdkEvent {
pub sequence: u64,
pub kind: String,
pub payload: Value,
}Expand description
Canonical event before a wire transport adds subscription metadata.
Fields§
§sequence: u64Monotonic sequence scoped to the SDK runtime.
kind: StringNormalized or native event kind.
payload: ValueComplete payload, including unknown fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SdkEvent
impl<'de> Deserialize<'de> for SdkEvent
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 StructuralPartialEq for SdkEvent
Auto Trait Implementations§
impl Freeze for SdkEvent
impl RefUnwindSafe for SdkEvent
impl Send for SdkEvent
impl Sync for SdkEvent
impl Unpin for SdkEvent
impl UnsafeUnpin for SdkEvent
impl UnwindSafe for SdkEvent
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