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: boolIf true, auto-generated IDs will be numeric (auto-increment style)
rather than UUIDs.
Trait Implementations§
Source§impl Clone for AdvancedDatabaseConfig
impl Clone for AdvancedDatabaseConfig
Source§fn clone(&self) -> AdvancedDatabaseConfig
fn clone(&self) -> AdvancedDatabaseConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 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