Struct aws_lambda_events::event::sqs::SqsMessage
source · pub struct SqsMessage {
pub message_id: Option<String>,
pub receipt_handle: Option<String>,
pub body: Option<String>,
pub md5_of_body: Option<String>,
pub md5_of_message_attributes: Option<String>,
pub attributes: HashMap<String, String>,
pub message_attributes: HashMap<String, SqsMessageAttribute>,
pub event_source_arn: Option<String>,
pub event_source: Option<String>,
pub aws_region: Option<String>,
}
Expand description
An individual SQS Message, its metadata, and Message Attributes
Fields§
§message_id: Option<String>
nolint: stylecheck
receipt_handle: Option<String>
§body: Option<String>
§md5_of_body: Option<String>
§md5_of_message_attributes: Option<String>
§attributes: HashMap<String, String>
§message_attributes: HashMap<String, SqsMessageAttribute>
§event_source_arn: Option<String>
§event_source: Option<String>
§aws_region: Option<String>
Trait Implementations§
source§impl Clone for SqsMessage
impl Clone for SqsMessage
source§fn clone(&self) -> SqsMessage
fn clone(&self) -> SqsMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SqsMessage
impl Debug for SqsMessage
source§impl Default for SqsMessage
impl Default for SqsMessage
source§fn default() -> SqsMessage
fn default() -> SqsMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SqsMessage
impl<'de> Deserialize<'de> for SqsMessage
source§fn 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
source§impl PartialEq for SqsMessage
impl PartialEq for SqsMessage
source§fn eq(&self, other: &SqsMessage) -> bool
fn eq(&self, other: &SqsMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SqsMessage
impl Serialize for SqsMessage
impl Eq for SqsMessage
impl StructuralPartialEq for SqsMessage
Auto Trait Implementations§
impl Freeze for SqsMessage
impl RefUnwindSafe for SqsMessage
impl Send for SqsMessage
impl Sync for SqsMessage
impl Unpin for SqsMessage
impl UnwindSafe for SqsMessage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more