Struct migrant_lib::config::PostgresSettingsBuilder [−][src]
pub struct PostgresSettingsBuilder { /* fields omitted */ }
Expand description
Postgres settings builder
Implementations
Required – Set the database name.
Required – Set the database user.
Required – Set the database password.
Set the database host.
Set the database port.
Set a collection of database connection parameters.
Set a custom ssl cert file
Set directory to look for migration files.
This can be an absolute or relative path. An absolute path should be preferred. If a relative path is provided, the path will be assumed relative to either the settings file’s directory if a settings file exists, or the current directory.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PostgresSettingsBuilder
impl Send for PostgresSettingsBuilder
impl Sync for PostgresSettingsBuilder
impl Unpin for PostgresSettingsBuilder
impl UnwindSafe for PostgresSettingsBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more