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