#[non_exhaustive]pub struct CustomVerificationEmailTemplateBuilder { /* private fields */ }Expand description
A builder for CustomVerificationEmailTemplate.
Implementations§
source§impl CustomVerificationEmailTemplateBuilder
impl CustomVerificationEmailTemplateBuilder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the custom verification email template.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the custom verification email template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the custom verification email template.
sourcepub fn from_email_address(self, input: impl Into<String>) -> Self
pub fn from_email_address(self, input: impl Into<String>) -> Self
The email address that the custom verification email is sent from.
sourcepub fn set_from_email_address(self, input: Option<String>) -> Self
pub fn set_from_email_address(self, input: Option<String>) -> Self
The email address that the custom verification email is sent from.
sourcepub fn get_from_email_address(&self) -> &Option<String>
pub fn get_from_email_address(&self) -> &Option<String>
The email address that the custom verification email is sent from.
sourcepub fn template_subject(self, input: impl Into<String>) -> Self
pub fn template_subject(self, input: impl Into<String>) -> Self
The subject line of the custom verification email.
sourcepub fn set_template_subject(self, input: Option<String>) -> Self
pub fn set_template_subject(self, input: Option<String>) -> Self
The subject line of the custom verification email.
sourcepub fn get_template_subject(&self) -> &Option<String>
pub fn get_template_subject(&self) -> &Option<String>
The subject line of the custom verification email.
sourcepub fn success_redirection_url(self, input: impl Into<String>) -> Self
pub fn success_redirection_url(self, input: impl Into<String>) -> Self
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
sourcepub fn set_success_redirection_url(self, input: Option<String>) -> Self
pub fn set_success_redirection_url(self, input: Option<String>) -> Self
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
sourcepub fn get_success_redirection_url(&self) -> &Option<String>
pub fn get_success_redirection_url(&self) -> &Option<String>
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
sourcepub fn failure_redirection_url(self, input: impl Into<String>) -> Self
pub fn failure_redirection_url(self, input: impl Into<String>) -> Self
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
sourcepub fn set_failure_redirection_url(self, input: Option<String>) -> Self
pub fn set_failure_redirection_url(self, input: Option<String>) -> Self
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
sourcepub fn get_failure_redirection_url(&self) -> &Option<String>
pub fn get_failure_redirection_url(&self) -> &Option<String>
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
sourcepub fn build(self) -> CustomVerificationEmailTemplate
pub fn build(self) -> CustomVerificationEmailTemplate
Consumes the builder and constructs a CustomVerificationEmailTemplate.
Trait Implementations§
source§impl Clone for CustomVerificationEmailTemplateBuilder
impl Clone for CustomVerificationEmailTemplateBuilder
source§fn clone(&self) -> CustomVerificationEmailTemplateBuilder
fn clone(&self) -> CustomVerificationEmailTemplateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CustomVerificationEmailTemplateBuilder
impl Default for CustomVerificationEmailTemplateBuilder
source§fn default() -> CustomVerificationEmailTemplateBuilder
fn default() -> CustomVerificationEmailTemplateBuilder
source§impl PartialEq for CustomVerificationEmailTemplateBuilder
impl PartialEq for CustomVerificationEmailTemplateBuilder
source§fn eq(&self, other: &CustomVerificationEmailTemplateBuilder) -> bool
fn eq(&self, other: &CustomVerificationEmailTemplateBuilder) -> bool
self and other values to be equal, and is used
by ==.