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