[][src]Struct fxa_email_service::queues::sqs::notification::Notification

pub struct Notification {
    pub notification_type: NotificationType,
    pub mail: Mail,
    pub bounce: Option<Bounce>,
    pub complaint: Option<Complaint>,
    pub delivery: Option<Delivery>,
}

The root SQS queue notification type.

This type is a direct encoding of the SES notification format.

It also receives synthesized notifications from our Sendgrid event proxy. Because we don't have all of the data necessary to fill out an entire Notification from the data that Sendgrid provides, many of the fields which are not optional in the spec are Option-wrapped anyway.

Fields

Trait Implementations

impl From<Notification> for GenericNotification
[src]

impl Debug for Notification
[src]

impl<'de> Deserialize<'de> for Notification
[src]

Auto Trait Implementations

impl Send for Notification

impl Sync for Notification

Blanket Implementations

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T> Same for T

Should always be Self

impl<T> Typeable for T where
    T: Any

Get the TypeId of this object.

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

Marks self as using is_human_readable == true

Marks self as using is_human_readable == false

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized