pub struct MessageAttemptExhaustedEventData {
pub app_id: String,
pub app_uid: Option<String>,
pub endpoint_id: String,
pub last_attempt: Box<MessageAttemptFailedData>,
pub msg_event_id: Option<String>,
pub msg_id: String,
}
Expand description
MessageAttemptExhaustedEventData : Sent when a message delivery has failed (all of the retry attempts have been exhausted) as a "message.attempt.exhausted" type or after it’s failed four times as a "message.attempt.failing" event.
Fields§
§app_id: String
The app’s ID
app_uid: Option<String>
The app’s UID
endpoint_id: String
The ep’s ID
last_attempt: Box<MessageAttemptFailedData>
§msg_event_id: Option<String>
The msg’s UID
msg_id: String
The msg’s ID
Implementations§
Source§impl MessageAttemptExhaustedEventData
impl MessageAttemptExhaustedEventData
Sourcepub fn new(
app_id: String,
endpoint_id: String,
last_attempt: MessageAttemptFailedData,
msg_id: String,
) -> MessageAttemptExhaustedEventData
pub fn new( app_id: String, endpoint_id: String, last_attempt: MessageAttemptFailedData, msg_id: String, ) -> MessageAttemptExhaustedEventData
Sent when a message delivery has failed (all of the retry attempts have been exhausted) as a "message.attempt.exhausted" type or after it’s failed four times as a "message.attempt.failing" event.
Trait Implementations§
Source§impl Clone for MessageAttemptExhaustedEventData
impl Clone for MessageAttemptExhaustedEventData
Source§fn clone(&self) -> MessageAttemptExhaustedEventData
fn clone(&self) -> MessageAttemptExhaustedEventData
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 Default for MessageAttemptExhaustedEventData
impl Default for MessageAttemptExhaustedEventData
Source§fn default() -> MessageAttemptExhaustedEventData
fn default() -> MessageAttemptExhaustedEventData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageAttemptExhaustedEventData
impl<'de> Deserialize<'de> for MessageAttemptExhaustedEventData
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 MessageAttemptExhaustedEventData
impl PartialEq for MessageAttemptExhaustedEventData
Source§fn eq(&self, other: &MessageAttemptExhaustedEventData) -> bool
fn eq(&self, other: &MessageAttemptExhaustedEventData) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageAttemptExhaustedEventData
Auto Trait Implementations§
impl Freeze for MessageAttemptExhaustedEventData
impl RefUnwindSafe for MessageAttemptExhaustedEventData
impl Send for MessageAttemptExhaustedEventData
impl Sync for MessageAttemptExhaustedEventData
impl Unpin for MessageAttemptExhaustedEventData
impl UnwindSafe for MessageAttemptExhaustedEventData
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