#[non_exhaustive]pub struct CustomVerificationEmailTemplate { /* private fields */ }Expand description
Contains information about a custom verification email template.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<CustomVerificationEmailTemplate> for CustomVerificationEmailTemplate
impl PartialEq<CustomVerificationEmailTemplate> for CustomVerificationEmailTemplate
source§fn eq(&self, other: &CustomVerificationEmailTemplate) -> bool
fn eq(&self, other: &CustomVerificationEmailTemplate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomVerificationEmailTemplate
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more