pub struct VerificationOptions {
pub schema: ModelSchemaOptions,
pub store_identifier: VerificationStoreIdentifierConfig,
pub disable_cleanup: bool,
}Expand description
Verification token storage options.
Fields§
§schema: ModelSchemaOptions§store_identifier: VerificationStoreIdentifierConfig§disable_cleanup: boolImplementations§
Source§impl VerificationOptions
impl VerificationOptions
pub fn new() -> Self
pub fn schema(self, schema: ModelSchemaOptions) -> Self
pub fn store_identifier_hashed(self) -> Self
pub fn store_identifier(self, config: VerificationStoreIdentifierConfig) -> Self
pub fn disable_cleanup(self, disabled: bool) -> Self
Trait Implementations§
Source§impl Clone for VerificationOptions
impl Clone for VerificationOptions
Source§fn clone(&self) -> VerificationOptions
fn clone(&self) -> VerificationOptions
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 VerificationOptions
impl Debug for VerificationOptions
Source§impl Default for VerificationOptions
impl Default for VerificationOptions
Source§fn default() -> VerificationOptions
fn default() -> VerificationOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for VerificationOptions
impl !UnwindSafe for VerificationOptions
impl Freeze for VerificationOptions
impl Send for VerificationOptions
impl Sync for VerificationOptions
impl Unpin for VerificationOptions
impl UnsafeUnpin for VerificationOptions
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