pub struct CommonConfig {
pub batch_size: usize,
pub timeout_ms: u64,
pub retry_attempts: usize,
pub compression: bool,
}Expand description
Common configuration for all connectors
Fields§
§batch_size: usizeBatch size for processing
timeout_ms: u64Timeout for operations in milliseconds
retry_attempts: usizeNumber of retry attempts
compression: boolEnable compression
Trait Implementations§
Source§impl Clone for CommonConfig
impl Clone for CommonConfig
Source§fn clone(&self) -> CommonConfig
fn clone(&self) -> CommonConfig
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 CommonConfig
impl Debug for CommonConfig
Source§impl Default for CommonConfig
impl Default for CommonConfig
Source§impl<'de> Deserialize<'de> for CommonConfig
impl<'de> Deserialize<'de> for CommonConfig
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 CommonConfig
impl RefUnwindSafe for CommonConfig
impl Send for CommonConfig
impl Sync for CommonConfig
impl Unpin for CommonConfig
impl UnwindSafe for CommonConfig
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