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