#[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 ==
.impl StructuralPartialEq for CustomVerificationEmailTemplate
Auto Trait Implementations§
impl Freeze for CustomVerificationEmailTemplate
impl RefUnwindSafe for CustomVerificationEmailTemplate
impl Send for CustomVerificationEmailTemplate
impl Sync for CustomVerificationEmailTemplate
impl Unpin for CustomVerificationEmailTemplate
impl UnwindSafe for CustomVerificationEmailTemplate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more