pub struct WritableTxnMarkerResultBuilder { /* private fields */ }
Expand description
Builder for WritableTxnMarkerResult
.
Implementations§
source§impl WritableTxnMarkerResultBuilder
impl WritableTxnMarkerResultBuilder
sourcepub fn producer_id(&mut self, value: ProducerId) -> &mut Self
pub fn producer_id(&mut self, value: ProducerId) -> &mut Self
The current producer ID in use by the transactional ID.
Supported API versions: 0-1
sourcepub fn topics(&mut self, value: Vec<WritableTxnMarkerTopicResult>) -> &mut Self
pub fn topics(&mut self, value: Vec<WritableTxnMarkerTopicResult>) -> &mut Self
The results by topic.
Supported API versions: 0-1
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
pub fn unknown_tagged_fields( &mut self, value: BTreeMap<i32, Vec<u8>> ) -> &mut Self
Other tagged fields
sourcepub fn build(
&self
) -> Result<WritableTxnMarkerResult, WritableTxnMarkerResultBuilderError>
pub fn build( &self ) -> Result<WritableTxnMarkerResult, WritableTxnMarkerResultBuilderError>
Trait Implementations§
source§impl Clone for WritableTxnMarkerResultBuilder
impl Clone for WritableTxnMarkerResultBuilder
source§fn clone(&self) -> WritableTxnMarkerResultBuilder
fn clone(&self) -> WritableTxnMarkerResultBuilder
Returns a copy 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 more