[][src]Struct aws_lambda_events::event::cloudwatch_events::CloudWatchEvent

pub struct CloudWatchEvent<T1 = Value> where
    T1: DeserializeOwned,
    T1: Serialize
{ pub version: Option<String>, pub id: Option<String>, pub detail_type: Option<String>, pub source: Option<String>, pub account_id: Option<String>, pub time: DateTime<Utc>, pub region: Option<String>, pub resources: Vec<String>, pub detail: T1, }

CloudWatchEvent is the outer structure of an event sent via CloudWatch Events. For examples of events that come via CloudWatch Events, see https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html

Fields

version: Option<String>id: Option<String>detail_type: Option<String>source: Option<String>account_id: Option<String>time: DateTime<Utc>region: Option<String>resources: Vec<String>detail: T1

Trait Implementations

impl<T1: PartialEq> PartialEq<CloudWatchEvent<T1>> for CloudWatchEvent<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<T1: Clone> Clone for CloudWatchEvent<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T1: Debug> Debug for CloudWatchEvent<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<T1> Serialize for CloudWatchEvent<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<'de, T1> Deserialize<'de> for CloudWatchEvent<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

Auto Trait Implementations

impl<T1> Send for CloudWatchEvent<T1> where
    T1: Send

impl<T1> Sync for CloudWatchEvent<T1> where
    T1: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]