pub struct ListOffsetsTopicResponseBuilder { /* private fields */ }
Expand description
Builder for ListOffsetsTopicResponse
.
Implementations§
source§impl ListOffsetsTopicResponseBuilder
impl ListOffsetsTopicResponseBuilder
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-8
sourcepub fn partitions(
&mut self,
value: Vec<ListOffsetsPartitionResponse>
) -> &mut Self
pub fn partitions( &mut self, value: Vec<ListOffsetsPartitionResponse> ) -> &mut Self
Each partition in the response.
Supported API versions: 0-8
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<ListOffsetsTopicResponse, ListOffsetsTopicResponseBuilderError>
pub fn build( &self ) -> Result<ListOffsetsTopicResponse, ListOffsetsTopicResponseBuilderError>
Trait Implementations§
source§impl Clone for ListOffsetsTopicResponseBuilder
impl Clone for ListOffsetsTopicResponseBuilder
source§fn clone(&self) -> ListOffsetsTopicResponseBuilder
fn clone(&self) -> ListOffsetsTopicResponseBuilder
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 ListOffsetsTopicResponseBuilder
impl Send for ListOffsetsTopicResponseBuilder
impl Sync for ListOffsetsTopicResponseBuilder
impl Unpin for ListOffsetsTopicResponseBuilder
impl UnwindSafe for ListOffsetsTopicResponseBuilder
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