pub struct MessageDelivery {
pub stream: Option<String>,
pub consumer: Option<String>,
pub attempt: u64,
}Expand description
Re-exported public API. Durable transport delivery details attached to an event handler invocation.
Fields§
§stream: Option<String>The stream that delivered the message, when applicable.
consumer: Option<String>The durable consumer that delivered the message, when applicable.
attempt: u64The one-based delivery attempt.
Trait Implementations§
Source§impl Clone for MessageDelivery
impl Clone for MessageDelivery
Source§fn clone(&self) -> MessageDelivery
fn clone(&self) -> MessageDelivery
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 MessageDelivery
impl Debug for MessageDelivery
Source§impl Default for MessageDelivery
impl Default for MessageDelivery
Source§fn default() -> MessageDelivery
fn default() -> MessageDelivery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageDelivery
impl RefUnwindSafe for MessageDelivery
impl Send for MessageDelivery
impl Sync for MessageDelivery
impl Unpin for MessageDelivery
impl UnsafeUnpin for MessageDelivery
impl UnwindSafe for MessageDelivery
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