pub struct JsonEncoderConfig {
pub update_format: JsonUpdateFormat,
pub json_flavor: Option<JsonFlavor>,
pub buffer_size_records: usize,
pub array: bool,
pub key_fields: Option<Vec<String>>,
}Fields§
§update_format: JsonUpdateFormat§json_flavor: Option<JsonFlavor>§buffer_size_records: usize§array: bool§key_fields: Option<Vec<String>>When this option is set, only the listed fields appear in the Debezium message key.
This option is useful when writing to a table with primary keys. For such tables, Debezium expects the message key to contain only the primary key columns.
This option is only valid with the debezium update format.
Trait Implementations§
source§impl<'de> Deserialize<'de> for JsonEncoderConfig
impl<'de> Deserialize<'de> for JsonEncoderConfig
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 Serialize for JsonEncoderConfig
impl Serialize for JsonEncoderConfig
Auto Trait Implementations§
impl Freeze for JsonEncoderConfig
impl RefUnwindSafe for JsonEncoderConfig
impl Send for JsonEncoderConfig
impl Sync for JsonEncoderConfig
impl Unpin for JsonEncoderConfig
impl UnwindSafe for JsonEncoderConfig
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