#[non_exhaustive]pub struct CustomVerificationEmailTemplate {
pub template_name: Option<String>,
pub from_email_address: Option<String>,
pub template_subject: Option<String>,
pub success_redirection_url: Option<String>,
pub failure_redirection_url: Option<String>,
}Expand description
Contains information about a custom verification email template.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.template_name: Option<String>The name of the custom verification email template.
from_email_address: Option<String>The email address that the custom verification email is sent from.
template_subject: Option<String>The subject line of the custom verification email.
success_redirection_url: Option<String>The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
failure_redirection_url: Option<String>The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
Implementations§
source§impl CustomVerificationEmailTemplate
impl CustomVerificationEmailTemplate
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the custom verification email template.
sourcepub fn from_email_address(&self) -> Option<&str>
pub fn from_email_address(&self) -> Option<&str>
The email address that the custom verification email is sent from.
sourcepub fn template_subject(&self) -> Option<&str>
pub fn template_subject(&self) -> Option<&str>
The subject line of the custom verification email.
sourcepub fn success_redirection_url(&self) -> Option<&str>
pub fn success_redirection_url(&self) -> Option<&str>
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) -> Option<&str>
pub fn failure_redirection_url(&self) -> Option<&str>
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
source§impl CustomVerificationEmailTemplate
impl CustomVerificationEmailTemplate
sourcepub fn builder() -> CustomVerificationEmailTemplateBuilder
pub fn builder() -> CustomVerificationEmailTemplateBuilder
Creates a new builder-style object to manufacture CustomVerificationEmailTemplate.
Trait Implementations§
source§impl Clone for CustomVerificationEmailTemplate
impl Clone for CustomVerificationEmailTemplate
source§fn clone(&self) -> CustomVerificationEmailTemplate
fn clone(&self) -> CustomVerificationEmailTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CustomVerificationEmailTemplate
impl PartialEq for CustomVerificationEmailTemplate
source§fn eq(&self, other: &CustomVerificationEmailTemplate) -> bool
fn eq(&self, other: &CustomVerificationEmailTemplate) -> bool
self and other values to be equal, and is used
by ==.