pub struct MetadataRequestTopicBuilder { /* private fields */ }
Expand description
Builder for MetadataRequestTopic
.
Implementations§
source§impl MetadataRequestTopicBuilder
impl MetadataRequestTopicBuilder
sourcepub fn topic_id(&mut self, value: Uuid) -> &mut Self
pub fn topic_id(&mut self, value: Uuid) -> &mut Self
The topic id.
Supported API versions: 10-12
sourcepub fn name(&mut self, value: Option<TopicName>) -> &mut Self
pub fn name(&mut self, value: Option<TopicName>) -> &mut Self
The topic name.
Supported API versions: 0-12
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<MetadataRequestTopic, MetadataRequestTopicBuilderError>
pub fn build( &self ) -> Result<MetadataRequestTopic, MetadataRequestTopicBuilderError>
Trait Implementations§
source§impl Clone for MetadataRequestTopicBuilder
impl Clone for MetadataRequestTopicBuilder
source§fn clone(&self) -> MetadataRequestTopicBuilder
fn clone(&self) -> MetadataRequestTopicBuilder
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 MetadataRequestTopicBuilder
impl Send for MetadataRequestTopicBuilder
impl Sync for MetadataRequestTopicBuilder
impl Unpin for MetadataRequestTopicBuilder
impl UnwindSafe for MetadataRequestTopicBuilder
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