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>,
}
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
sourceimpl Clone for SqsMessage
impl Clone for SqsMessage
sourcefn clone(&self) -> SqsMessage
fn clone(&self) -> SqsMessage
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 SqsMessage
impl Debug for SqsMessage
sourceimpl<'de> Deserialize<'de> for SqsMessage
impl<'de> Deserialize<'de> for SqsMessage
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<SqsMessage> for SqsMessage
impl PartialEq<SqsMessage> for SqsMessage
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SqsMessage) -> bool
fn ne(&self, other: &SqsMessage) -> bool
This method tests for !=
.
sourceimpl Serialize for SqsMessage
impl Serialize for SqsMessage
impl StructuralPartialEq for SqsMessage
Auto Trait Implementations
impl RefUnwindSafe for SqsMessage
impl Send for SqsMessage
impl Sync for SqsMessage
impl Unpin for SqsMessage
impl UnwindSafe for SqsMessage
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more