Struct kafka_protocol::messages::add_partitions_to_txn_response::AddPartitionsToTxnResultBuilder
source · pub struct AddPartitionsToTxnResultBuilder { /* private fields */ }
Expand description
Builder for AddPartitionsToTxnResult
.
Implementations§
source§impl AddPartitionsToTxnResultBuilder
impl AddPartitionsToTxnResultBuilder
sourcepub fn topic_results(
&mut self,
value: IndexMap<TopicName, AddPartitionsToTxnTopicResult>,
) -> &mut Self
pub fn topic_results( &mut self, value: IndexMap<TopicName, AddPartitionsToTxnTopicResult>, ) -> &mut Self
The results for each topic.
Supported API versions: 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<AddPartitionsToTxnResult, AddPartitionsToTxnResultBuilderError>
pub fn build( &self, ) -> Result<AddPartitionsToTxnResult, AddPartitionsToTxnResultBuilderError>
Trait Implementations§
source§impl Clone for AddPartitionsToTxnResultBuilder
impl Clone for AddPartitionsToTxnResultBuilder
source§fn clone(&self) -> AddPartitionsToTxnResultBuilder
fn clone(&self) -> AddPartitionsToTxnResultBuilder
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 Freeze for AddPartitionsToTxnResultBuilder
impl RefUnwindSafe for AddPartitionsToTxnResultBuilder
impl Send for AddPartitionsToTxnResultBuilder
impl Sync for AddPartitionsToTxnResultBuilder
impl Unpin for AddPartitionsToTxnResultBuilder
impl UnwindSafe for AddPartitionsToTxnResultBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)