pub struct MessageAttemptFailingEvent {
pub data: Box<MessageAttemptFailingEventData>,
pub type: Type,
}
Expand description
MessageAttemptFailingEvent : Sent after a message has been failing for a few times. It’s sent on the fourth failure. It complements message.attempt.exhausted
which is sent after the last failure.
Fields§
§data: Box<MessageAttemptFailingEventData>
§type: Type
Implementations§
Source§impl MessageAttemptFailingEvent
impl MessageAttemptFailingEvent
Sourcepub fn new(
data: MessageAttemptFailingEventData,
type: Type,
) -> MessageAttemptFailingEvent
pub fn new( data: MessageAttemptFailingEventData, type: Type, ) -> MessageAttemptFailingEvent
Sent after a message has been failing for a few times. It’s sent on the fourth failure. It complements message.attempt.exhausted
which is sent after the last failure.
Trait Implementations§
Source§impl Clone for MessageAttemptFailingEvent
impl Clone for MessageAttemptFailingEvent
Source§fn clone(&self) -> MessageAttemptFailingEvent
fn clone(&self) -> MessageAttemptFailingEvent
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 MessageAttemptFailingEvent
impl Debug for MessageAttemptFailingEvent
Source§impl Default for MessageAttemptFailingEvent
impl Default for MessageAttemptFailingEvent
Source§fn default() -> MessageAttemptFailingEvent
fn default() -> MessageAttemptFailingEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageAttemptFailingEvent
impl<'de> Deserialize<'de> for MessageAttemptFailingEvent
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 MessageAttemptFailingEvent
Auto Trait Implementations§
impl Freeze for MessageAttemptFailingEvent
impl RefUnwindSafe for MessageAttemptFailingEvent
impl Send for MessageAttemptFailingEvent
impl Sync for MessageAttemptFailingEvent
impl Unpin for MessageAttemptFailingEvent
impl UnwindSafe for MessageAttemptFailingEvent
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