pub struct AbortedTransaction {
pub producer_id: i64,
pub first_offset: i64,
}Expand description
An aborted transaction, as the broker reports it in a fetch response.
Fields§
§producer_id: i64§first_offset: i64Trait Implementations§
Source§impl Clone for AbortedTransaction
impl Clone for AbortedTransaction
Source§fn clone(&self) -> AbortedTransaction
fn clone(&self) -> AbortedTransaction
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 AbortedTransaction
Source§impl Debug for AbortedTransaction
impl Debug for AbortedTransaction
impl Eq for AbortedTransaction
Source§impl PartialEq for AbortedTransaction
impl PartialEq for AbortedTransaction
impl StructuralPartialEq for AbortedTransaction
Auto Trait Implementations§
impl Freeze for AbortedTransaction
impl RefUnwindSafe for AbortedTransaction
impl Send for AbortedTransaction
impl Sync for AbortedTransaction
impl Unpin for AbortedTransaction
impl UnsafeUnpin for AbortedTransaction
impl UnwindSafe for AbortedTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.