[][src]Struct fxa_email_service::settings::Provider

pub struct Provider {
    pub default: ProviderType,
    pub forcedefault: bool,
}

Email provider settings.

Fields

The default email provider to use, can be "ses", "sendgrid", "socketlabs", "smtp" or "mock". Note that this setting can be overridden on a per-request basis unless forcedefault is true.

Flag indicating whether the default provider should be enforced in preference to the per-request provider param.

Trait Implementations

impl Default for Provider
[src]

impl Debug for Provider
[src]

impl Serialize for Provider
[src]

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

Auto Trait Implementations

impl Send for Provider

impl Sync for Provider

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

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