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_by_partition(
&mut self,
value: IndexMap<i32, AddPartitionsToTxnPartitionResult>
) -> &mut Self
pub fn results_by_partition( &mut self, value: IndexMap<i32, AddPartitionsToTxnPartitionResult> ) -> &mut Self
The results for each partition
Supported API versions: 0-4
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Bytes>
) -> &mut Self
pub fn unknown_tagged_fields( &mut self, value: BTreeMap<i32, Bytes> ) -> &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 moreAuto Trait Implementations§
impl RefUnwindSafe for AddPartitionsToTxnTopicResultBuilder
impl Send for AddPartitionsToTxnTopicResultBuilder
impl Sync for AddPartitionsToTxnTopicResultBuilder
impl Unpin for AddPartitionsToTxnTopicResultBuilder
impl UnwindSafe for AddPartitionsToTxnTopicResultBuilder
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