pub struct EndTxnRequest {
pub transactional_id: String,
pub producer_id: i64,
pub producer_epoch: i16,
pub committed: bool,
}Expand description
EndTxnRequest, version 0.
Fields§
§transactional_id: StringThe ID of the transaction to end.
producer_id: i64The producer ID.
producer_epoch: i16The current epoch associated with the producer.
committed: boolTrue if the transaction was committed, false if it was aborted.
Implementations§
Trait Implementations§
Source§impl ApiMessage for EndTxnRequest
impl ApiMessage for EndTxnRequest
Source§impl Clone for EndTxnRequest
impl Clone for EndTxnRequest
Source§fn clone(&self) -> EndTxnRequest
fn clone(&self) -> EndTxnRequest
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 EndTxnRequest
impl Debug for EndTxnRequest
Source§impl Default for EndTxnRequest
impl Default for EndTxnRequest
Source§impl<'de> Deserialize<'de> for EndTxnRequest
impl<'de> Deserialize<'de> for EndTxnRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EndTxnRequest
impl PartialEq for EndTxnRequest
Source§impl Readable for EndTxnRequest
impl Readable for EndTxnRequest
Source§impl Serialize for EndTxnRequest
impl Serialize for EndTxnRequest
Source§impl Writable for EndTxnRequest
impl Writable for EndTxnRequest
impl Request for EndTxnRequest
impl StructuralPartialEq for EndTxnRequest
Auto Trait Implementations§
impl Freeze for EndTxnRequest
impl RefUnwindSafe for EndTxnRequest
impl Send for EndTxnRequest
impl Sync for EndTxnRequest
impl Unpin for EndTxnRequest
impl UnwindSafe for EndTxnRequest
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