pub struct OffsetDeleteResponseTopic {
pub name: KafkaString,
pub partitions: Vec<OffsetDeleteResponsePartition>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: KafkaStringThe topic name.
partitions: Vec<OffsetDeleteResponsePartition>The responses for each partition in the topic.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl OffsetDeleteResponseTopic
impl OffsetDeleteResponseTopic
pub fn with_name(self, value: KafkaString) -> Self
pub fn with_partitions(self, value: Vec<OffsetDeleteResponsePartition>) -> 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 OffsetDeleteResponseTopic
impl Clone for OffsetDeleteResponseTopic
Source§fn clone(&self) -> OffsetDeleteResponseTopic
fn clone(&self) -> OffsetDeleteResponseTopic
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 OffsetDeleteResponseTopic
impl Debug for OffsetDeleteResponseTopic
Source§impl Default for OffsetDeleteResponseTopic
impl Default for OffsetDeleteResponseTopic
Source§impl PartialEq for OffsetDeleteResponseTopic
impl PartialEq for OffsetDeleteResponseTopic
Source§fn eq(&self, other: &OffsetDeleteResponseTopic) -> bool
fn eq(&self, other: &OffsetDeleteResponseTopic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OffsetDeleteResponseTopic
Auto Trait Implementations§
impl !Freeze for OffsetDeleteResponseTopic
impl RefUnwindSafe for OffsetDeleteResponseTopic
impl Send for OffsetDeleteResponseTopic
impl Sync for OffsetDeleteResponseTopic
impl Unpin for OffsetDeleteResponseTopic
impl UnsafeUnpin for OffsetDeleteResponseTopic
impl UnwindSafe for OffsetDeleteResponseTopic
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