pub struct TransactionMarkerPartitionState {
pub producer_epoch: i16,
pub coordinator_epoch: i32,
pub has_pending_transaction: bool,
}Expand description
The partition’s latest producer state for the marker’s producer ID.
Fields§
§producer_epoch: i16The latest producer epoch, or -1 when the partition has none.
coordinator_epoch: i32The latest coordinator epoch, or -1 when the partition has none.
has_pending_transaction: boolThe producer has an open transaction on this partition.
Trait Implementations§
Source§impl Clone for TransactionMarkerPartitionState
impl Clone for TransactionMarkerPartitionState
Source§fn clone(&self) -> TransactionMarkerPartitionState
fn clone(&self) -> TransactionMarkerPartitionState
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 moreimpl Copy for TransactionMarkerPartitionState
impl Eq for TransactionMarkerPartitionState
impl StructuralPartialEq for TransactionMarkerPartitionState
Auto Trait Implementations§
impl Freeze for TransactionMarkerPartitionState
impl RefUnwindSafe for TransactionMarkerPartitionState
impl Send for TransactionMarkerPartitionState
impl Sync for TransactionMarkerPartitionState
impl Unpin for TransactionMarkerPartitionState
impl UnsafeUnpin for TransactionMarkerPartitionState
impl UnwindSafe for TransactionMarkerPartitionState
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