#[non_exhaustive]pub struct EndTxnMarker {
pub coordinator_epoch: i32,
}
Expand description
Valid versions: 0
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.coordinator_epoch: i32
The coordinator epoch when appending the record
Supported API versions: 0
Implementations§
Source§impl EndTxnMarker
impl EndTxnMarker
Sourcepub fn with_coordinator_epoch(self, value: i32) -> Self
pub fn with_coordinator_epoch(self, value: i32) -> Self
Sets coordinator_epoch
to the passed value.
The coordinator epoch when appending the record
Supported API versions: 0
Trait Implementations§
Source§impl Clone for EndTxnMarker
impl Clone for EndTxnMarker
Source§fn clone(&self) -> EndTxnMarker
fn clone(&self) -> EndTxnMarker
Returns a duplicate of the value. Read more
1.0.0 · 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 EndTxnMarker
impl Debug for EndTxnMarker
Source§impl Decodable for EndTxnMarker
impl Decodable for EndTxnMarker
Source§impl Default for EndTxnMarker
impl Default for EndTxnMarker
Source§impl Encodable for EndTxnMarker
impl Encodable for EndTxnMarker
Source§impl Message for EndTxnMarker
impl Message for EndTxnMarker
Source§const VERSIONS: VersionRange
const VERSIONS: VersionRange
The valid versions for this message.
Source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
The deprecated versions for this message.
Source§impl PartialEq for EndTxnMarker
impl PartialEq for EndTxnMarker
impl StructuralPartialEq for EndTxnMarker
Auto Trait Implementations§
impl Freeze for EndTxnMarker
impl RefUnwindSafe for EndTxnMarker
impl Send for EndTxnMarker
impl Sync for EndTxnMarker
impl Unpin for EndTxnMarker
impl UnwindSafe for EndTxnMarker
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