Struct kafka_protocol::messages::add_partitions_to_txn_response::AddPartitionsToTxnTopicResultBuilder
source · pub struct AddPartitionsToTxnTopicResultBuilder { /* private fields */ }
Expand description
Builder for AddPartitionsToTxnTopicResult
.
Implementations§
source§impl AddPartitionsToTxnTopicResultBuilder
impl AddPartitionsToTxnTopicResultBuilder
sourcepub fn results(
&mut self,
value: IndexMap<i32, AddPartitionsToTxnPartitionResult>
) -> &mut Self
pub fn results(
&mut self,
value: IndexMap<i32, AddPartitionsToTxnPartitionResult>
) -> &mut Self
The results for each partition
Supported API versions: 0-3
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<AddPartitionsToTxnTopicResult, AddPartitionsToTxnTopicResultBuilderError>
pub fn build(
&self
) -> Result<AddPartitionsToTxnTopicResult, AddPartitionsToTxnTopicResultBuilderError>
Trait Implementations§
source§impl Clone for AddPartitionsToTxnTopicResultBuilder
impl Clone for AddPartitionsToTxnTopicResultBuilder
source§fn clone(&self) -> AddPartitionsToTxnTopicResultBuilder
fn clone(&self) -> AddPartitionsToTxnTopicResultBuilder
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