pub struct VerifyEmailEmail {
pub to: String,
pub name: String,
pub verify_url: String,
pub expires_in_hours: u32,
}Expand description
Email verification request
Fields§
§to: StringRecipient email address
name: StringUser’s display name
verify_url: StringVerification URL
expires_in_hours: u32Token expiry in hours
Trait Implementations§
Source§impl Clone for VerifyEmailEmail
impl Clone for VerifyEmailEmail
Source§fn clone(&self) -> VerifyEmailEmail
fn clone(&self) -> VerifyEmailEmail
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 VerifyEmailEmail
impl Debug for VerifyEmailEmail
Source§impl EmailTemplate for VerifyEmailEmail
impl EmailTemplate for VerifyEmailEmail
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 VerifyEmailEmail
impl RefUnwindSafe for VerifyEmailEmail
impl Send for VerifyEmailEmail
impl Sync for VerifyEmailEmail
impl Unpin for VerifyEmailEmail
impl UnwindSafe for VerifyEmailEmail
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