[−][src]Struct rusoto_sqs::Message
An Amazon SQS message.
Fields
attributes: Option<HashMap<String, String>>
A map of the attributes requested in ReceiveMessage
to their respective values. Supported attributes:
-
ApproximateReceiveCount
-
ApproximateFirstReceiveTimestamp
-
MessageDeduplicationId
-
MessageGroupId
-
SenderId
-
SentTimestamp
-
SequenceNumber
ApproximateFirstReceiveTimestamp
and SentTimestamp
are each returned as an integer representing the epoch time in milliseconds.
body: Option<String>
The message's contents (not URL-encoded).
md5_of_body: Option<String>
An MD5 digest of the non-URL-encoded message body string.
md5_of_message_attributes: Option<String>
An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
message_attributes: Option<HashMap<String, MessageAttributeValue>>
Each message attribute consists of a Name
, Type
, and Value
. For more information, see Amazon SQS Message Attributes in the Amazon Simple Queue Service Developer Guide.
message_id: Option<String>
A unique identifier for the message. A MessageId
is considered unique across all AWS accounts for an extended period of time.
receipt_handle: Option<String>
An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.
Trait Implementations
impl Clone for Message
[src]
impl Debug for Message
[src]
impl Default for Message
[src]
impl PartialEq<Message> for Message
[src]
impl StructuralPartialEq for Message
[src]
Auto Trait Implementations
impl RefUnwindSafe for Message
[src]
impl Send for Message
[src]
impl Sync for Message
[src]
impl Unpin for Message
[src]
impl UnwindSafe for Message
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,