pub struct EmailVerificationConfig {
pub verification_token_expiry_hours: i64,
pub send_email_notifications: bool,
pub require_verification_for_signin: bool,
pub auto_verify_new_users: bool,
}Fields§
§verification_token_expiry_hours: i64§send_email_notifications: bool§require_verification_for_signin: bool§auto_verify_new_users: boolTrait Implementations§
Source§impl Clone for EmailVerificationConfig
impl Clone for EmailVerificationConfig
Source§fn clone(&self) -> EmailVerificationConfig
fn clone(&self) -> EmailVerificationConfig
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 EmailVerificationConfig
impl Debug for EmailVerificationConfig
Auto Trait Implementations§
impl Freeze for EmailVerificationConfig
impl RefUnwindSafe for EmailVerificationConfig
impl Send for EmailVerificationConfig
impl Sync for EmailVerificationConfig
impl Unpin for EmailVerificationConfig
impl UnsafeUnpin for EmailVerificationConfig
impl UnwindSafe for EmailVerificationConfig
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