pub struct EmailPasswordConfig {
pub session_expires_in: u64,
pub dont_remember_session_expires_in: u64,
pub min_password_length: usize,
pub max_password_length: usize,
pub require_email_verification: bool,
pub secondary_storage: Option<Arc<dyn SecondaryStorage>>,
pub store_session_in_database: bool,
pub preserve_session_in_database: bool,
}Fields§
§session_expires_in: u64§dont_remember_session_expires_in: u64§min_password_length: usize§max_password_length: usize§require_email_verification: bool§secondary_storage: Option<Arc<dyn SecondaryStorage>>§store_session_in_database: bool§preserve_session_in_database: boolTrait Implementations§
Source§impl Clone for EmailPasswordConfig
impl Clone for EmailPasswordConfig
Source§fn clone(&self) -> EmailPasswordConfig
fn clone(&self) -> EmailPasswordConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmailPasswordConfig
impl Debug for EmailPasswordConfig
Auto Trait Implementations§
impl !RefUnwindSafe for EmailPasswordConfig
impl !UnwindSafe for EmailPasswordConfig
impl Freeze for EmailPasswordConfig
impl Send for EmailPasswordConfig
impl Sync for EmailPasswordConfig
impl Unpin for EmailPasswordConfig
impl UnsafeUnpin for EmailPasswordConfig
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