pub struct WelcomeEmail {
pub to: String,
pub name: String,
pub verify_url: String,
}Expand description
Welcome email sent after registration
Fields§
§to: StringRecipient email address
name: StringUser’s display name
verify_url: StringEmail verification URL
Trait Implementations§
Source§impl Clone for WelcomeEmail
impl Clone for WelcomeEmail
Source§fn clone(&self) -> WelcomeEmail
fn clone(&self) -> WelcomeEmail
Returns a duplicate 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 Debug for WelcomeEmail
impl Debug for WelcomeEmail
Source§impl EmailTemplate for WelcomeEmail
impl EmailTemplate for WelcomeEmail
Source§fn template_name(&self) -> &'static str
fn template_name(&self) -> &'static str
Get the template name (without extension) Read more
Source§fn priority(&self) -> EmailPriority
fn priority(&self) -> EmailPriority
Get the priority level (for queue ordering)
Auto Trait Implementations§
impl Freeze for WelcomeEmail
impl RefUnwindSafe for WelcomeEmail
impl Send for WelcomeEmail
impl Sync for WelcomeEmail
impl Unpin for WelcomeEmail
impl UnwindSafe for WelcomeEmail
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