pub struct AdvancedDatabaseConfig {
pub default_find_many_limit: usize,
pub use_number_id: bool,
}Expand description
Database-related advanced options.
Fields§
§default_find_many_limit: usizeDefault LIMIT for “find many” queries.
use_number_id: boolDeclares that the database uses numeric IDs, as upstream’s
useNumberId. IDs are always generated as strings; this only makes
invitation email verification required by default, because numeric
invitation IDs are guessable.
Trait Implementations§
Source§impl Clone for AdvancedDatabaseConfig
impl Clone for AdvancedDatabaseConfig
Source§impl Debug for AdvancedDatabaseConfig
impl Debug for AdvancedDatabaseConfig
Auto Trait Implementations§
impl Freeze for AdvancedDatabaseConfig
impl RefUnwindSafe for AdvancedDatabaseConfig
impl Send for AdvancedDatabaseConfig
impl Sync for AdvancedDatabaseConfig
impl Unpin for AdvancedDatabaseConfig
impl UnsafeUnpin for AdvancedDatabaseConfig
impl UnwindSafe for AdvancedDatabaseConfig
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