pub struct SinkConfig {
pub kind: String,
pub out_dir: PathBuf,
pub bootstrap_servers: Option<String>,
pub topic: Option<String>,
pub acks: Option<String>,
pub compression: Option<String>,
pub max_bytes: Option<u64>,
pub partition_field: Option<String>,
pub partition_format: Option<String>,
}Fields§
§kind: String§out_dir: PathBuf§bootstrap_servers: Option<String>§topic: Option<String>§acks: Option<String>§compression: Option<String>§max_bytes: Option<u64>§partition_field: Option<String>§partition_format: Option<String>Trait Implementations§
Source§impl Clone for SinkConfig
impl Clone for SinkConfig
Source§fn clone(&self) -> SinkConfig
fn clone(&self) -> SinkConfig
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 SinkConfig
impl Debug for SinkConfig
Source§impl<'de> Deserialize<'de> for SinkConfig
impl<'de> Deserialize<'de> for SinkConfig
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
Auto Trait Implementations§
impl Freeze for SinkConfig
impl RefUnwindSafe for SinkConfig
impl Send for SinkConfig
impl Sync for SinkConfig
impl Unpin for SinkConfig
impl UnwindSafe for SinkConfig
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