Struct rusoto_sqs::Message [] [src]

pub struct Message {
    pub attributes: Option<HashMap<String, String>>,
    pub body: Option<String>,
    pub md5_of_body: Option<String>,
    pub md5_of_message_attributes: Option<String>,
    pub message_attributes: Option<HashMap<String, MessageAttributeValue>>,
    pub message_id: Option<String>,
    pub receipt_handle: Option<String>,
}

An Amazon SQS message.

Fields

SenderId, SentTimestamp, ApproximateReceiveCount, and/or ApproximateFirstReceiveTimestamp. SentTimestamp and ApproximateFirstReceiveTimestamp are each returned as an integer representing the epoch time in milliseconds.

The message's contents (not URL-encoded).

An MD5 digest of the non-URL-encoded message body 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.

Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items and Validation in the Amazon SQS Developer Guide.

A unique identifier for the message. A MessageIdis considered unique across all AWS accounts for an extended period of time.

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 Default for Message
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for Message
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Message
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Message

impl Sync for Message