pub struct MessageAttemptRecoveredEventData {
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
MessageAttemptRecoveredEventData : 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 MessageAttemptRecoveredEventData
impl MessageAttemptRecoveredEventData
Sourcepub fn new(
app_id: String,
endpoint_id: String,
last_attempt: MessageAttemptFailedData,
msg_id: String,
) -> MessageAttemptRecoveredEventData
pub fn new( app_id: String, endpoint_id: String, last_attempt: MessageAttemptFailedData, msg_id: String, ) -> MessageAttemptRecoveredEventData
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 MessageAttemptRecoveredEventData
impl Clone for MessageAttemptRecoveredEventData
Source§fn clone(&self) -> MessageAttemptRecoveredEventData
fn clone(&self) -> MessageAttemptRecoveredEventData
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 MessageAttemptRecoveredEventData
impl Default for MessageAttemptRecoveredEventData
Source§fn default() -> MessageAttemptRecoveredEventData
fn default() -> MessageAttemptRecoveredEventData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageAttemptRecoveredEventData
impl<'de> Deserialize<'de> for MessageAttemptRecoveredEventData
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 MessageAttemptRecoveredEventData
impl PartialEq for MessageAttemptRecoveredEventData
Source§fn eq(&self, other: &MessageAttemptRecoveredEventData) -> bool
fn eq(&self, other: &MessageAttemptRecoveredEventData) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageAttemptRecoveredEventData
Auto Trait Implementations§
impl Freeze for MessageAttemptRecoveredEventData
impl RefUnwindSafe for MessageAttemptRecoveredEventData
impl Send for MessageAttemptRecoveredEventData
impl Sync for MessageAttemptRecoveredEventData
impl Unpin for MessageAttemptRecoveredEventData
impl UnwindSafe for MessageAttemptRecoveredEventData
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