pub struct OffsetCommitResponseTopic {
pub name: KafkaString,
pub topic_id: KafkaUuid,
pub partitions: Vec<OffsetCommitResponsePartition>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: KafkaStringThe topic name.
topic_id: KafkaUuidThe topic ID.
partitions: Vec<OffsetCommitResponsePartition>The responses for each partition in the topic.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl OffsetCommitResponseTopic
impl OffsetCommitResponseTopic
pub fn with_name(self, value: KafkaString) -> Self
pub fn with_topic_id(self, value: KafkaUuid) -> Self
pub fn with_partitions(self, value: Vec<OffsetCommitResponsePartition>) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for OffsetCommitResponseTopic
impl Clone for OffsetCommitResponseTopic
Source§fn clone(&self) -> OffsetCommitResponseTopic
fn clone(&self) -> OffsetCommitResponseTopic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OffsetCommitResponseTopic
impl Debug for OffsetCommitResponseTopic
Source§impl Default for OffsetCommitResponseTopic
impl Default for OffsetCommitResponseTopic
Source§impl PartialEq for OffsetCommitResponseTopic
impl PartialEq for OffsetCommitResponseTopic
Source§fn eq(&self, other: &OffsetCommitResponseTopic) -> bool
fn eq(&self, other: &OffsetCommitResponseTopic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OffsetCommitResponseTopic
Auto Trait Implementations§
impl !Freeze for OffsetCommitResponseTopic
impl RefUnwindSafe for OffsetCommitResponseTopic
impl Send for OffsetCommitResponseTopic
impl Sync for OffsetCommitResponseTopic
impl Unpin for OffsetCommitResponseTopic
impl UnsafeUnpin for OffsetCommitResponseTopic
impl UnwindSafe for OffsetCommitResponseTopic
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