pub struct MessageAttemptExhaustedEvent {
pub data: Box<MessageAttemptExhaustedEventData>,
pub type: Type,
}
Expand description
MessageAttemptExhaustedEvent : Sent when a message delivery has failed (all of the retry attempts have been exhausted).
Fields§
§data: Box<MessageAttemptExhaustedEventData>
§type: Type
Implementations§
Source§impl MessageAttemptExhaustedEvent
impl MessageAttemptExhaustedEvent
Sourcepub fn new(
data: MessageAttemptExhaustedEventData,
type: Type,
) -> MessageAttemptExhaustedEvent
pub fn new( data: MessageAttemptExhaustedEventData, type: Type, ) -> MessageAttemptExhaustedEvent
Sent when a message delivery has failed (all of the retry attempts have been exhausted).
Trait Implementations§
Source§impl Clone for MessageAttemptExhaustedEvent
impl Clone for MessageAttemptExhaustedEvent
Source§fn clone(&self) -> MessageAttemptExhaustedEvent
fn clone(&self) -> MessageAttemptExhaustedEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageAttemptExhaustedEvent
impl Debug for MessageAttemptExhaustedEvent
Source§impl Default for MessageAttemptExhaustedEvent
impl Default for MessageAttemptExhaustedEvent
Source§fn default() -> MessageAttemptExhaustedEvent
fn default() -> MessageAttemptExhaustedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageAttemptExhaustedEvent
impl<'de> Deserialize<'de> for MessageAttemptExhaustedEvent
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 MessageAttemptExhaustedEvent
impl PartialEq for MessageAttemptExhaustedEvent
Source§fn eq(&self, other: &MessageAttemptExhaustedEvent) -> bool
fn eq(&self, other: &MessageAttemptExhaustedEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageAttemptExhaustedEvent
Auto Trait Implementations§
impl Freeze for MessageAttemptExhaustedEvent
impl RefUnwindSafe for MessageAttemptExhaustedEvent
impl Send for MessageAttemptExhaustedEvent
impl Sync for MessageAttemptExhaustedEvent
impl Unpin for MessageAttemptExhaustedEvent
impl UnwindSafe for MessageAttemptExhaustedEvent
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