pub struct ReceivedMessage {
pub message_id: MessageId,
pub body: Bytes,
pub attributes: HashMap<String, String>,
pub session_id: Option<SessionId>,
pub correlation_id: Option<String>,
pub receipt_handle: ReceiptHandle,
pub delivery_count: u32,
pub first_delivered_at: Timestamp,
pub delivered_at: Timestamp,
}Expand description
A message received from the queue with processing metadata
Fields§
§message_id: MessageId§body: Bytes§attributes: HashMap<String, String>§session_id: Option<SessionId>§correlation_id: Option<String>§receipt_handle: ReceiptHandle§delivery_count: u32§first_delivered_at: Timestamp§delivered_at: TimestampImplementations§
Trait Implementations§
Source§impl Clone for ReceivedMessage
impl Clone for ReceivedMessage
Source§fn clone(&self) -> ReceivedMessage
fn clone(&self) -> ReceivedMessage
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 moreAuto Trait Implementations§
impl !Freeze for ReceivedMessage
impl RefUnwindSafe for ReceivedMessage
impl Send for ReceivedMessage
impl Sync for ReceivedMessage
impl Unpin for ReceivedMessage
impl UnsafeUnpin for ReceivedMessage
impl UnwindSafe for ReceivedMessage
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