pub struct TransactionTopicConfigBuilder { /* private fields */ }Expand description
Builder for TransactionTopicConfig.
Implementations§
Source§impl TransactionTopicConfigBuilder
impl TransactionTopicConfigBuilder
Sourcepub fn topic_prefix(self, prefix: impl Into<String>) -> Self
pub fn topic_prefix(self, prefix: impl Into<String>) -> Self
Set the topic prefix.
Sourcepub fn emit_begin(self, emit: bool) -> Self
pub fn emit_begin(self, emit: bool) -> Self
Enable/disable BEGIN event emission.
Sourcepub fn enrich_events(self, enrich: bool) -> Self
pub fn enrich_events(self, enrich: bool) -> Self
Enable/disable event enrichment with transaction context.
Sourcepub fn max_in_flight(self, max: usize) -> Self
pub fn max_in_flight(self, max: usize) -> Self
Set max in-flight transactions.
Sourcepub fn build(self) -> TransactionTopicConfig
pub fn build(self) -> TransactionTopicConfig
Build the configuration.
Trait Implementations§
Source§impl Default for TransactionTopicConfigBuilder
impl Default for TransactionTopicConfigBuilder
Source§fn default() -> TransactionTopicConfigBuilder
fn default() -> TransactionTopicConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransactionTopicConfigBuilder
impl RefUnwindSafe for TransactionTopicConfigBuilder
impl Send for TransactionTopicConfigBuilder
impl Sync for TransactionTopicConfigBuilder
impl Unpin for TransactionTopicConfigBuilder
impl UnsafeUnpin for TransactionTopicConfigBuilder
impl UnwindSafe for TransactionTopicConfigBuilder
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