pub struct DeliveredMessage { /* private fields */ }Expand description
A message the server delivered on this subscription.
Implementations§
Source§impl DeliveredMessage
impl DeliveredMessage
Sourcepub const fn delivery_seq(&self) -> u64
pub const fn delivery_seq(&self) -> u64
The per-subscription monotonic delivery sequence (starts at 1). The anchor the future ack/resume protocol will acknowledge against.
Sourcepub const fn schema_id(&self) -> SchemaId
pub const fn schema_id(&self) -> SchemaId
The schema id the server selected for this subscription’s stream.
Sourcepub fn into_payload(self) -> Vec<u8> ⓘ
pub fn into_payload(self) -> Vec<u8> ⓘ
Consumes the message, returning the owned payload bytes.
Trait Implementations§
Source§impl Clone for DeliveredMessage
impl Clone for DeliveredMessage
Source§fn clone(&self) -> DeliveredMessage
fn clone(&self) -> DeliveredMessage
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 DeliveredMessage
impl Debug for DeliveredMessage
impl Eq for DeliveredMessage
Source§impl PartialEq for DeliveredMessage
impl PartialEq for DeliveredMessage
impl StructuralPartialEq for DeliveredMessage
Auto Trait Implementations§
impl Freeze for DeliveredMessage
impl RefUnwindSafe for DeliveredMessage
impl Send for DeliveredMessage
impl Sync for DeliveredMessage
impl Unpin for DeliveredMessage
impl UnsafeUnpin for DeliveredMessage
impl UnwindSafe for DeliveredMessage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.