[][src]Struct aws_lambda_events::event::autoscaling::AutoScalingEvent

pub struct AutoScalingEvent<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: HashMap<String, T1>, }

AutoScalingEvent struct is used to parse the json for auto scaling event types //

Fields

version: Option<String>

The version of event data

id: Option<String>

The unique ID of the event

detail_type: Option<String>

Details about event type

source: Option<String>

Source of the event

account_id: Option<String>

AccountId

time: DateTime<Utc>

Event timestamp

region: Option<String>

Region of event

resources: Vec<String>

Information about resources impacted by event

detail: HashMap<String, T1>

Trait Implementations

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

impl<T1: Clone> Clone for AutoScalingEvent<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 AutoScalingEvent<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

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

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

Auto Trait Implementations

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

impl<T1> Sync for AutoScalingEvent<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]