pub struct TopicRequestBuilder { /* private fields */ }
Expand description
Builder for TopicRequest
.
Implementations§
source§impl TopicRequestBuilder
impl TopicRequestBuilder
sourcepub fn name(&mut self, value: TopicName) -> &mut Self
pub fn name(&mut self, value: TopicName) -> &mut Self
The topic name.
Supported API versions: 0
sourcepub fn partition_indexes(&mut self, value: Vec<i32>) -> &mut Self
pub fn partition_indexes(&mut self, value: Vec<i32>) -> &mut Self
The indexes of the partitions to list producers for.
Supported API versions: 0
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<TopicRequest, TopicRequestBuilderError>
pub fn build(&self) -> Result<TopicRequest, TopicRequestBuilderError>
Trait Implementations§
source§impl Clone for TopicRequestBuilder
impl Clone for TopicRequestBuilder
source§fn clone(&self) -> TopicRequestBuilder
fn clone(&self) -> TopicRequestBuilder
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 TopicRequestBuilder
impl Send for TopicRequestBuilder
impl Sync for TopicRequestBuilder
impl Unpin for TopicRequestBuilder
impl UnwindSafe for TopicRequestBuilder
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