pub struct RemainingPartitionBuilder { /* private fields */ }Expand description
Builder for RemainingPartition.
Implementations§
source§impl RemainingPartitionBuilder
 
impl RemainingPartitionBuilder
sourcepub fn topic_name(&mut self, value: TopicName) -> &mut Self
 
pub fn topic_name(&mut self, value: TopicName) -> &mut Self
The name of the topic.
Supported API versions: 0-3
sourcepub fn partition_index(&mut self, value: i32) -> &mut Self
 
pub fn partition_index(&mut self, value: i32) -> &mut Self
The index of the 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<RemainingPartition, RemainingPartitionBuilderError>
 
pub fn build( &self ) -> Result<RemainingPartition, RemainingPartitionBuilderError>
Trait Implementations§
source§impl Clone for RemainingPartitionBuilder
 
impl Clone for RemainingPartitionBuilder
source§fn clone(&self) -> RemainingPartitionBuilder
 
fn clone(&self) -> RemainingPartitionBuilder
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