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

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

The root notification type.

This "generic" type is really just a subset of the SQS notification type. That's mostly so we can easily interface with existing auth server code that already knows about the SQS message format. Longer-term we can do whatever we want in here.

Fields

Trait Implementations

impl Default for Notification
[src]

impl From<Notification> for GenericNotification
[src]

impl Debug for Notification
[src]

impl Serialize 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> 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

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