pub struct PostgresSourceConfigDto {
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
PostgreSQL source configuration DTO.
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 PostgresSourceConfigDto
impl Clone for PostgresSourceConfigDto
Source§fn clone(&self) -> PostgresSourceConfigDto
fn clone(&self) -> PostgresSourceConfigDto
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 PostgresSourceConfigDto
impl Debug for PostgresSourceConfigDto
Source§impl<'de> Deserialize<'de> for PostgresSourceConfigDto
impl<'de> Deserialize<'de> for PostgresSourceConfigDto
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 PostgresSourceConfigDto
impl PartialEq for PostgresSourceConfigDto
Source§impl Serialize for PostgresSourceConfigDto
impl Serialize for PostgresSourceConfigDto
Source§impl<'__s> ToSchema<'__s> for PostgresSourceConfigDto
impl<'__s> ToSchema<'__s> for PostgresSourceConfigDto
impl StructuralPartialEq for PostgresSourceConfigDto
Auto Trait Implementations§
impl Freeze for PostgresSourceConfigDto
impl RefUnwindSafe for PostgresSourceConfigDto
impl Send for PostgresSourceConfigDto
impl Sync for PostgresSourceConfigDto
impl Unpin for PostgresSourceConfigDto
impl UnsafeUnpin for PostgresSourceConfigDto
impl UnwindSafe for PostgresSourceConfigDto
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