pub struct Builder;
Expand description

Builds MailService from components with a builder pattern.

Add components with a + sign. The component must implement MailSetup<T> and may depend with T on traits the Configuration struct implements. Finally call build() or build_with_driver()

Implementations

Start with empty configuration

Use a given MailSetup to build a MailService.

See MailSetup for examples. Prefer to build with the + sign.

Trait Implementations

Composing a mail service with +

Add given mail setup to the service configuration

The resulting type after applying the + operator.

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.