pub struct PasskeySchemaOptions {
pub table_name: Option<String>,
pub field_names: IndexMap<String, String>,
}Expand description
Database schema naming overrides for the passkey model.
The Rust API continues to use RustAuth’s logical snake_case names; these overrides only affect the physical table and column names used by adapters.
Fields§
§table_name: Option<String>§field_names: IndexMap<String, String>Implementations§
Trait Implementations§
Source§impl Clone for PasskeySchemaOptions
impl Clone for PasskeySchemaOptions
Source§fn clone(&self) -> PasskeySchemaOptions
fn clone(&self) -> PasskeySchemaOptions
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 PasskeySchemaOptions
impl Debug for PasskeySchemaOptions
Source§impl Default for PasskeySchemaOptions
impl Default for PasskeySchemaOptions
Source§fn default() -> PasskeySchemaOptions
fn default() -> PasskeySchemaOptions
Returns the “default value” for a type. Read more
impl Eq for PasskeySchemaOptions
Source§impl PartialEq for PasskeySchemaOptions
impl PartialEq for PasskeySchemaOptions
Source§fn eq(&self, other: &PasskeySchemaOptions) -> bool
fn eq(&self, other: &PasskeySchemaOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PasskeySchemaOptions
Auto Trait Implementations§
impl Freeze for PasskeySchemaOptions
impl RefUnwindSafe for PasskeySchemaOptions
impl Send for PasskeySchemaOptions
impl Sync for PasskeySchemaOptions
impl Unpin for PasskeySchemaOptions
impl UnsafeUnpin for PasskeySchemaOptions
impl UnwindSafe for PasskeySchemaOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.