Struct aws_lambda_events::event::sns::SnsRecord
source · pub struct SnsRecord {
pub event_source: String,
pub event_version: String,
pub event_subscription_arn: String,
pub sns: SnsMessage,
}
Expand description
SnsRecord stores information about each record of a SNS event
Fields§
§event_source: String
A string containing the event source.
event_version: String
A string containing the event version.
event_subscription_arn: String
A string containing the event subscription ARN.
sns: SnsMessage
An SNS object representing the SNS message.
Trait Implementations§
source§impl<'de> Deserialize<'de> for SnsRecord
impl<'de> Deserialize<'de> for SnsRecord
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 SnsRecord
impl PartialEq for SnsRecord
impl Eq for SnsRecord
impl StructuralPartialEq for SnsRecord
Auto Trait Implementations§
impl Freeze for SnsRecord
impl RefUnwindSafe for SnsRecord
impl Send for SnsRecord
impl Sync for SnsRecord
impl Unpin for SnsRecord
impl UnwindSafe for SnsRecord
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