Struct rusoto_sqs::MessageAttributeValue
[−]
[src]
pub struct MessageAttributeValue { pub binary_list_values: Option<Vec<Vec<u8>>>, pub binary_value: Option<Vec<u8>>, pub data_type: String, pub string_list_values: Option<Vec<String>>, pub string_value: Option<String>, }
The user-specified message attribute value. For string data types, the Value
attribute has the same restrictions on the content as the message body. For more information, see SendMessage.
Name
, type
, value
and the message body must not be empty or null. All parts of the message attribute, including Name
, Type
, and Value
, are part of the message size restriction (256 KB or 262,144 bytes).
Fields
binary_list_values: Option<Vec<Vec<u8>>>
Not implemented. Reserved for future use.
binary_value: Option<Vec<u8>>
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.
data_type: String
Amazon SQS supports the following logical data types: String
, Number
, and Binary
. For the Number
data type, you must use StringValue
.
You can also append custom labels. For more information, see Message Attribute Data Types and Validation in the Amazon SQS Developer Guide.
string_list_values: Option<Vec<String>>
Not implemented. Reserved for future use.
string_value: Option<String>
Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.
Trait Implementations
impl Default for MessageAttributeValue
[src]
fn default() -> MessageAttributeValue
[src]
Returns the "default value" for a type. Read more
impl Debug for MessageAttributeValue
[src]
impl Clone for MessageAttributeValue
[src]
fn clone(&self) -> MessageAttributeValue
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more