Struct aws_lambda_events::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
sourceimpl<'de> Deserialize<'de> for SnsRecord
impl<'de> Deserialize<'de> for SnsRecord
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
impl StructuralPartialEq for SnsRecord
Auto Trait Implementations
impl RefUnwindSafe for SnsRecord
impl Send for SnsRecord
impl Sync for SnsRecord
impl Unpin for SnsRecord
impl UnwindSafe for SnsRecord
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