pub struct AuthSchemaOptions {
pub id_policy: IdPolicy,
pub user: TableOptions,
pub account: TableOptions,
pub session: TableOptions,
pub verification: TableOptions,
pub rate_limit: TableOptions,
pub has_secondary_storage: bool,
pub store_session_in_database: bool,
pub store_verification_in_database: bool,
pub rate_limit_storage: RateLimitStorage,
}Expand description
Options used to build RustAuth’s core database schema metadata.
Fields§
§id_policy: IdPolicy§user: TableOptions§account: TableOptions§session: TableOptions§verification: TableOptions§rate_limit: TableOptions§has_secondary_storage: bool§store_session_in_database: bool§store_verification_in_database: bool§rate_limit_storage: RateLimitStorageTrait Implementations§
Source§impl Clone for AuthSchemaOptions
impl Clone for AuthSchemaOptions
Source§fn clone(&self) -> AuthSchemaOptions
fn clone(&self) -> AuthSchemaOptions
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 AuthSchemaOptions
impl Debug for AuthSchemaOptions
Source§impl Default for AuthSchemaOptions
impl Default for AuthSchemaOptions
Source§fn default() -> AuthSchemaOptions
fn default() -> AuthSchemaOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthSchemaOptions
impl<'de> Deserialize<'de> for AuthSchemaOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AuthSchemaOptions
Source§impl PartialEq for AuthSchemaOptions
impl PartialEq for AuthSchemaOptions
Source§fn eq(&self, other: &AuthSchemaOptions) -> bool
fn eq(&self, other: &AuthSchemaOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthSchemaOptions
impl Serialize for AuthSchemaOptions
impl StructuralPartialEq for AuthSchemaOptions
Auto Trait Implementations§
impl Freeze for AuthSchemaOptions
impl RefUnwindSafe for AuthSchemaOptions
impl Send for AuthSchemaOptions
impl Sync for AuthSchemaOptions
impl Unpin for AuthSchemaOptions
impl UnsafeUnpin for AuthSchemaOptions
impl UnwindSafe for AuthSchemaOptions
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.