pub struct SessionEventDelivery {
pub subscription_id: String,
pub delivery_index: u64,
pub cursor_before: RuntimeCursor,
pub cursor_after: RuntimeCursor,
pub wire_payload_schema_ref: String,
pub envelope_bytes: Vec<u8>,
}Expand description
One delivered event or projection update with cursor and envelope bytes.
Fields§
§subscription_id: StringGlobally unique subscription id.
delivery_index: u64Monotonic per-session delivery index.
cursor_before: RuntimeCursorCursor before this delivery.
cursor_after: RuntimeCursorCursor after this delivery.
wire_payload_schema_ref: StringRoute-declared wire payload schema ref.
envelope_bytes: Vec<u8>Canonical envelope bytes for payload_hex.
Trait Implementations§
Source§impl Clone for SessionEventDelivery
impl Clone for SessionEventDelivery
Source§fn clone(&self) -> SessionEventDelivery
fn clone(&self) -> SessionEventDelivery
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 SessionEventDelivery
impl Debug for SessionEventDelivery
impl Eq for SessionEventDelivery
Source§impl PartialEq for SessionEventDelivery
impl PartialEq for SessionEventDelivery
Source§fn eq(&self, other: &SessionEventDelivery) -> bool
fn eq(&self, other: &SessionEventDelivery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionEventDelivery
Auto Trait Implementations§
impl Freeze for SessionEventDelivery
impl RefUnwindSafe for SessionEventDelivery
impl Send for SessionEventDelivery
impl Sync for SessionEventDelivery
impl Unpin for SessionEventDelivery
impl UnsafeUnpin for SessionEventDelivery
impl UnwindSafe for SessionEventDelivery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more