Struct aws_sdk_sqs::types::SendMessageBatchResultEntry
source · #[non_exhaustive]pub struct SendMessageBatchResultEntry {
pub id: String,
pub message_id: String,
pub md5_of_message_body: String,
pub md5_of_message_attributes: Option<String>,
pub md5_of_message_system_attributes: Option<String>,
pub sequence_number: Option<String>,
}
Expand description
Encloses a MessageId
for a successfully-enqueued message in a
SendMessageBatch
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
An identifier for the message in this batch.
message_id: String
An identifier for the message.
md5_of_message_body: String
An MD5 digest of the non-URL-encoded message body 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.
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.
md5_of_message_system_attributes: Option<String>
An MD5 digest of the non-URL-encoded message system 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.
sequence_number: Option<String>
This parameter applies only to FIFO (first-in-first-out) queues.
The large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. As SequenceNumber
continues to increase for a particular MessageGroupId
.
Implementations§
source§impl SendMessageBatchResultEntry
impl SendMessageBatchResultEntry
sourcepub fn message_id(&self) -> &str
pub fn message_id(&self) -> &str
An identifier for the message.
sourcepub fn md5_of_message_body(&self) -> &str
pub fn md5_of_message_body(&self) -> &str
An MD5 digest of the non-URL-encoded message body 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.
sourcepub fn md5_of_message_attributes(&self) -> Option<&str>
pub fn md5_of_message_attributes(&self) -> Option<&str>
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.
sourcepub fn md5_of_message_system_attributes(&self) -> Option<&str>
pub fn md5_of_message_system_attributes(&self) -> Option<&str>
An MD5 digest of the non-URL-encoded message system 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.
sourcepub fn sequence_number(&self) -> Option<&str>
pub fn sequence_number(&self) -> Option<&str>
This parameter applies only to FIFO (first-in-first-out) queues.
The large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. As SequenceNumber
continues to increase for a particular MessageGroupId
.
source§impl SendMessageBatchResultEntry
impl SendMessageBatchResultEntry
sourcepub fn builder() -> SendMessageBatchResultEntryBuilder
pub fn builder() -> SendMessageBatchResultEntryBuilder
Creates a new builder-style object to manufacture SendMessageBatchResultEntry
.
Trait Implementations§
source§impl Clone for SendMessageBatchResultEntry
impl Clone for SendMessageBatchResultEntry
source§fn clone(&self) -> SendMessageBatchResultEntry
fn clone(&self) -> SendMessageBatchResultEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SendMessageBatchResultEntry
impl Debug for SendMessageBatchResultEntry
source§impl PartialEq for SendMessageBatchResultEntry
impl PartialEq for SendMessageBatchResultEntry
source§fn eq(&self, other: &SendMessageBatchResultEntry) -> bool
fn eq(&self, other: &SendMessageBatchResultEntry) -> bool
self
and other
values to be equal, and is used
by ==
.