pub struct PostgresBootstrapConfigDto {
pub host: ConfigValue<String>,
pub port: ConfigValue<u16>,
pub database: ConfigValue<String>,
pub user: ConfigValue<String>,
pub password: ConfigValue<String>,
pub tables: Vec<String>,
pub slot_name: String,
pub publication_name: String,
pub ssl_mode: ConfigValue<SslModeDto>,
pub table_keys: Vec<TableKeyConfigDto>,
}Expand description
Configuration DTO for the PostgreSQL bootstrap provider.
Fields§
§host: ConfigValue<String>§port: ConfigValue<u16>§database: ConfigValue<String>§user: ConfigValue<String>§password: ConfigValue<String>§tables: Vec<String>§slot_name: String§publication_name: String§ssl_mode: ConfigValue<SslModeDto>§table_keys: Vec<TableKeyConfigDto>Trait Implementations§
Source§impl Clone for PostgresBootstrapConfigDto
impl Clone for PostgresBootstrapConfigDto
Source§fn clone(&self) -> PostgresBootstrapConfigDto
fn clone(&self) -> PostgresBootstrapConfigDto
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 PostgresBootstrapConfigDto
impl Debug for PostgresBootstrapConfigDto
Source§impl<'de> Deserialize<'de> for PostgresBootstrapConfigDto
impl<'de> Deserialize<'de> for PostgresBootstrapConfigDto
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<'__s> ToSchema<'__s> for PostgresBootstrapConfigDto
impl<'__s> ToSchema<'__s> for PostgresBootstrapConfigDto
impl StructuralPartialEq for PostgresBootstrapConfigDto
Auto Trait Implementations§
impl Freeze for PostgresBootstrapConfigDto
impl RefUnwindSafe for PostgresBootstrapConfigDto
impl Send for PostgresBootstrapConfigDto
impl Sync for PostgresBootstrapConfigDto
impl Unpin for PostgresBootstrapConfigDto
impl UnsafeUnpin for PostgresBootstrapConfigDto
impl UnwindSafe for PostgresBootstrapConfigDto
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