Struct rusoto_sqs::MessageAttributeValue
source · [−]pub struct MessageAttributeValue {
pub binary_list_values: Option<Vec<Bytes>>,
pub binary_value: Option<Bytes>,
pub data_type: String,
pub string_list_values: Option<Vec<String>>,
pub string_value: Option<String>,
}
Expand description
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<Bytes>>
Not implemented. Reserved for future use.
binary_value: Option<Bytes>
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 Amazon SQS Message Attributes in the Amazon Simple Queue Service 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
sourceimpl Clone for MessageAttributeValue
impl Clone for MessageAttributeValue
sourcefn clone(&self) -> MessageAttributeValue
fn clone(&self) -> MessageAttributeValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MessageAttributeValue
impl Debug for MessageAttributeValue
sourceimpl Default for MessageAttributeValue
impl Default for MessageAttributeValue
sourcefn default() -> MessageAttributeValue
fn default() -> MessageAttributeValue
Returns the “default value” for a type. Read more
sourceimpl PartialEq<MessageAttributeValue> for MessageAttributeValue
impl PartialEq<MessageAttributeValue> for MessageAttributeValue
sourcefn eq(&self, other: &MessageAttributeValue) -> bool
fn eq(&self, other: &MessageAttributeValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MessageAttributeValue) -> bool
fn ne(&self, other: &MessageAttributeValue) -> bool
This method tests for !=
.
impl StructuralPartialEq for MessageAttributeValue
Auto Trait Implementations
impl RefUnwindSafe for MessageAttributeValue
impl Send for MessageAttributeValue
impl Sync for MessageAttributeValue
impl Unpin for MessageAttributeValue
impl UnwindSafe for MessageAttributeValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more