pub struct EmailBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> EmailBuilder<S>
impl<S: State> EmailBuilder<S>
Sourcepub fn build(self) -> Emailwhere
S: IsComplete,
pub fn build(self) -> Emailwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn domains(self, value: Vec<String>) -> EmailBuilder<SetDomains<S>>where
S::Domains: IsUnset,
pub fn domains(self, value: Vec<String>) -> EmailBuilder<SetDomains<S>>where
S::Domains: IsUnset,
Optional (Some / Option setters).
Default: <Vec<String> as Default>::default().
Seed mail domains provisioned at deploy time (one SES identity each).
Useful for day-0 bootstrap and products with a static domain set.
May be empty (the default): products that create and verify domains
dynamically should manage identities at runtime through the
email/manage-identities grant instead of listing them here.
Sourcepub fn maybe_domains(
self,
value: Option<Vec<String>>,
) -> EmailBuilder<SetDomains<S>>where
S::Domains: IsUnset,
pub fn maybe_domains(
self,
value: Option<Vec<String>>,
) -> EmailBuilder<SetDomains<S>>where
S::Domains: IsUnset,
Optional (Some / Option setters).
Default: <Vec<String> as Default>::default().
Seed mail domains provisioned at deploy time (one SES identity each).
Useful for day-0 bootstrap and products with a static domain set.
May be empty (the default): products that create and verify domains
dynamically should manage identities at runtime through the
email/manage-identities grant instead of listing them here.