Struct core::DatabaseSettings
[−]pub struct DatabaseSettings {
pub path: String,
}
Expand description
Configuration parameters of the database
Fields
path: String
Path where the database will be stored
Trait Implementations
impl Clone for DatabaseSettings
impl Clone for DatabaseSettings
fn clone(&self) -> DatabaseSettings
fn clone(&self) -> DatabaseSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for DatabaseSettings
impl Debug for DatabaseSettings
impl<'de> Deserialize<'de> for DatabaseSettings
impl<'de> Deserialize<'de> for DatabaseSettings
fn deserialize<__D>(
__deserializer: __D
) -> Result<DatabaseSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DatabaseSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DatabaseSettings
impl Send for DatabaseSettings
impl Sync for DatabaseSettings
impl Unpin for DatabaseSettings
impl UnwindSafe for DatabaseSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more