Struct movine::config::PostgresParams
source · pub struct PostgresParams {
pub user: String,
pub password: Option<String>,
pub host: String,
pub database: String,
pub port: i32,
pub sslrootcert: Option<String>,
}
Fields§
§user: String
§password: Option<String>
§host: String
§database: String
§port: i32
§sslrootcert: Option<String>
Trait Implementations§
source§impl Clone for PostgresParams
impl Clone for PostgresParams
source§fn clone(&self) -> PostgresParams
fn clone(&self) -> PostgresParams
Returns a copy 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 PostgresParams
impl Debug for PostgresParams
Auto Trait Implementations§
impl RefUnwindSafe for PostgresParams
impl Send for PostgresParams
impl Sync for PostgresParams
impl Unpin for PostgresParams
impl UnwindSafe for PostgresParams
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