pub struct SqliteDriverOptions {
pub path: String,
pub create_if_missing: bool,
}Expand description
Options used to configure the SQLite driver.
Fields§
§path: StringFilesystem path or SQLite connection target.
create_if_missing: boolWhether the database file should be created if it is missing.
Implementations§
Trait Implementations§
Source§impl Clone for SqliteDriverOptions
impl Clone for SqliteDriverOptions
Source§fn clone(&self) -> SqliteDriverOptions
fn clone(&self) -> SqliteDriverOptions
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 SqliteDriverOptions
impl Debug for SqliteDriverOptions
impl Eq for SqliteDriverOptions
Source§impl PartialEq for SqliteDriverOptions
impl PartialEq for SqliteDriverOptions
Source§fn eq(&self, other: &SqliteDriverOptions) -> bool
fn eq(&self, other: &SqliteDriverOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SqliteDriverOptions
Auto Trait Implementations§
impl Freeze for SqliteDriverOptions
impl RefUnwindSafe for SqliteDriverOptions
impl Send for SqliteDriverOptions
impl Sync for SqliteDriverOptions
impl Unpin for SqliteDriverOptions
impl UnsafeUnpin for SqliteDriverOptions
impl UnwindSafe for SqliteDriverOptions
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