pub struct PostgresBootstrapConfig {
pub host: String,
pub port: u16,
pub database: String,
pub user: String,
pub password: String,
pub tables: Vec<String>,
pub slot_name: String,
pub publication_name: String,
pub ssl_mode: SslMode,
pub table_keys: Vec<TableKeyConfig>,
}Expand description
PostgreSQL bootstrap provider configuration
Fields§
§host: StringPostgreSQL host
port: u16PostgreSQL port
database: StringDatabase name
user: StringDatabase user
password: StringDatabase password
tables: Vec<String>Tables to bootstrap
slot_name: StringReplication slot name (for compatibility, not used in bootstrap)
publication_name: StringPublication name (for compatibility, not used in bootstrap)
ssl_mode: SslModeSSL mode
table_keys: Vec<TableKeyConfig>Table key configurations
Implementations§
Trait Implementations§
Source§impl Clone for PostgresBootstrapConfig
impl Clone for PostgresBootstrapConfig
Source§fn clone(&self) -> PostgresBootstrapConfig
fn clone(&self) -> PostgresBootstrapConfig
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 PostgresBootstrapConfig
impl Debug for PostgresBootstrapConfig
Source§impl<'de> Deserialize<'de> for PostgresBootstrapConfig
impl<'de> Deserialize<'de> for PostgresBootstrapConfig
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 PostgresBootstrapConfig
impl PartialEq for PostgresBootstrapConfig
Source§impl Serialize for PostgresBootstrapConfig
impl Serialize for PostgresBootstrapConfig
impl StructuralPartialEq for PostgresBootstrapConfig
Auto Trait Implementations§
impl Freeze for PostgresBootstrapConfig
impl RefUnwindSafe for PostgresBootstrapConfig
impl Send for PostgresBootstrapConfig
impl Sync for PostgresBootstrapConfig
impl Unpin for PostgresBootstrapConfig
impl UnwindSafe for PostgresBootstrapConfig
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