Struct aws_lambda_events::sns::MessageAttribute
source · [−]Expand description
Structured metadata items (such as timestamps, geospatial data, signatures, and identifiers) about the message.
Message attributes are optional and separate from—but are sent together with—the message body. The receiver can use this information to decide how to handle the message without having to process the message body first.
Additional details can be found in the SNS Developer Guide
Fields
data_type: String
The data type of the attribute. Per the SNS Developer Guide, lambda notifications, this will only be String or Binary.
value: String
The user-specified message attribute value.
Trait Implementations
sourceimpl Clone for MessageAttribute
impl Clone for MessageAttribute
sourcefn clone(&self) -> MessageAttribute
fn clone(&self) -> MessageAttribute
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 MessageAttribute
impl Debug for MessageAttribute
sourceimpl<'de> Deserialize<'de> for MessageAttribute
impl<'de> Deserialize<'de> for MessageAttribute
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<MessageAttribute> for MessageAttribute
impl PartialEq<MessageAttribute> for MessageAttribute
sourcefn eq(&self, other: &MessageAttribute) -> bool
fn eq(&self, other: &MessageAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MessageAttribute) -> bool
fn ne(&self, other: &MessageAttribute) -> bool
This method tests for !=
.
sourceimpl Serialize for MessageAttribute
impl Serialize for MessageAttribute
impl StructuralPartialEq for MessageAttribute
Auto Trait Implementations
impl RefUnwindSafe for MessageAttribute
impl Send for MessageAttribute
impl Sync for MessageAttribute
impl Unpin for MessageAttribute
impl UnwindSafe for MessageAttribute
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> 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