#[repr(C)]pub struct C4DatabaseConfig {
pub flags: C4DatabaseFlags,
pub storageEngine: C4StorageEngine,
pub versioning: C4DocumentVersioning,
pub encryptionKey: C4EncryptionKey,
}Fields§
§flags: C4DatabaseFlags< Create, ReadOnly, AutoCompact, Bundled…
storageEngine: C4StorageEngine< Which storage to use, or NULL for no preference
versioning: C4DocumentVersioning< Type of document versioning
encryptionKey: C4EncryptionKey< Encryption to use creating/opening the db
Trait Implementations§
Source§impl Clone for C4DatabaseConfig
impl Clone for C4DatabaseConfig
Source§fn clone(&self) -> C4DatabaseConfig
fn clone(&self) -> C4DatabaseConfig
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 C4DatabaseConfig
impl Debug for C4DatabaseConfig
impl Copy for C4DatabaseConfig
Auto Trait Implementations§
impl Freeze for C4DatabaseConfig
impl RefUnwindSafe for C4DatabaseConfig
impl !Send for C4DatabaseConfig
impl !Sync for C4DatabaseConfig
impl Unpin for C4DatabaseConfig
impl UnwindSafe for C4DatabaseConfig
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