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