pub struct NeliConfig {
pub name: String,
pub leader_topic: String,
pub leader_group_id: String,
pub poll_duration: Duration,
pub min_poll_duration: Duration,
pub heartbeat_timeout: Duration,
pub kafka_config: HashMap<String, String>,
}
Fields§
§name: String
§leader_topic: String
§leader_group_id: String
§poll_duration: Duration
§min_poll_duration: Duration
§heartbeat_timeout: Duration
§kafka_config: HashMap<String, String>
Trait Implementations§
Source§impl From<NeliConfigParams> for NeliConfig
impl From<NeliConfigParams> for NeliConfig
Source§fn from(params: NeliConfigParams) -> Self
fn from(params: NeliConfigParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NeliConfig
impl RefUnwindSafe for NeliConfig
impl Send for NeliConfig
impl Sync for NeliConfig
impl Unpin for NeliConfig
impl UnwindSafe for NeliConfig
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