pub struct SourceConfig {
pub kind: String,
pub path: PathBuf,
pub time_field: String,
pub bootstrap_servers: Option<String>,
pub topic: Option<String>,
pub group_id: Option<String>,
pub auto_offset_reset: Option<String>,
pub commit_interval_ms: Option<u64>,
}Fields§
§kind: String§path: PathBuf§time_field: String§bootstrap_servers: Option<String>§topic: Option<String>§group_id: Option<String>§auto_offset_reset: Option<String>§commit_interval_ms: Option<u64>Trait Implementations§
Source§impl Clone for SourceConfig
impl Clone for SourceConfig
Source§fn clone(&self) -> SourceConfig
fn clone(&self) -> SourceConfig
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 SourceConfig
impl Debug for SourceConfig
Source§impl<'de> Deserialize<'de> for SourceConfig
impl<'de> Deserialize<'de> for SourceConfig
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 SourceConfig
impl RefUnwindSafe for SourceConfig
impl Send for SourceConfig
impl Sync for SourceConfig
impl Unpin for SourceConfig
impl UnwindSafe for SourceConfig
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