pub struct DatabaseConnectionConfig {
pub database: String,
pub host: String,
pub password: String,
pub port: i32,
pub schema: String,
pub user: String,
}Fields§
§database: String§host: String§password: String§port: i32§schema: String§user: StringImplementations§
Trait Implementations§
Source§impl Clone for DatabaseConnectionConfig
impl Clone for DatabaseConnectionConfig
Source§fn clone(&self) -> DatabaseConnectionConfig
fn clone(&self) -> DatabaseConnectionConfig
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 DatabaseConnectionConfig
impl Debug for DatabaseConnectionConfig
Source§impl Default for DatabaseConnectionConfig
impl Default for DatabaseConnectionConfig
Source§fn default() -> DatabaseConnectionConfig
fn default() -> DatabaseConnectionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseConnectionConfig
impl<'de> Deserialize<'de> for DatabaseConnectionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DatabaseConnectionConfig
impl PartialEq for DatabaseConnectionConfig
Source§fn eq(&self, other: &DatabaseConnectionConfig) -> bool
fn eq(&self, other: &DatabaseConnectionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DatabaseConnectionConfig
impl Serialize for DatabaseConnectionConfig
impl StructuralPartialEq for DatabaseConnectionConfig
Auto Trait Implementations§
impl Freeze for DatabaseConnectionConfig
impl RefUnwindSafe for DatabaseConnectionConfig
impl Send for DatabaseConnectionConfig
impl Sync for DatabaseConnectionConfig
impl Unpin for DatabaseConnectionConfig
impl UnsafeUnpin for DatabaseConnectionConfig
impl UnwindSafe for DatabaseConnectionConfig
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