pub struct PostgresSourceConfig {
pub database_url: SecretString,
pub slot_name: String,
pub publication_name: String,
pub schema: String,
pub table_names: Vec<String>,
pub max_messages_per_poll: u32,
}Fields§
§database_url: SecretString§slot_name: String§publication_name: String§schema: String§table_names: Vec<String>§max_messages_per_poll: u32Trait Implementations§
Source§impl Clone for PostgresSourceConfig
impl Clone for PostgresSourceConfig
Source§fn clone(&self) -> PostgresSourceConfig
fn clone(&self) -> PostgresSourceConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConnectorConfig for PostgresSourceConfig
impl ConnectorConfig for PostgresSourceConfig
Source§fn config_def() -> ConfigDef
fn config_def() -> ConfigDef
Return this connector’s configuration definition.
Source§fn from_resolved(config: &ResolvedConfig) -> ConfigResult<Self>
fn from_resolved(config: &ResolvedConfig) -> ConfigResult<Self>
Build the typed config from validated, resolved values.
Auto Trait Implementations§
impl Freeze for PostgresSourceConfig
impl RefUnwindSafe for PostgresSourceConfig
impl Send for PostgresSourceConfig
impl Sync for PostgresSourceConfig
impl Unpin for PostgresSourceConfig
impl UnsafeUnpin for PostgresSourceConfig
impl UnwindSafe for PostgresSourceConfig
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