pub struct TxIdAndOffset {
pub tx_id: TxIdentifier,
pub offset: u64,
}
Expand description
A struct containing enough information to uniquely specify single event.
Fields§
§tx_id: TxIdentifier
The TxIdentifier
of the transaction containing this event.
offset: u64
The offset into the tx’s events at which this event is located. Index 0 is the first event from this tx.
Trait Implementations§
Source§impl Debug for TxIdAndOffset
impl Debug for TxIdAndOffset
Source§impl<'de> Deserialize<'de> for TxIdAndOffset
impl<'de> Deserialize<'de> for TxIdAndOffset
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 TxIdAndOffset
impl PartialEq for TxIdAndOffset
Source§impl Serialize for TxIdAndOffset
impl Serialize for TxIdAndOffset
impl StructuralPartialEq for TxIdAndOffset
Auto Trait Implementations§
impl Freeze for TxIdAndOffset
impl RefUnwindSafe for TxIdAndOffset
impl Send for TxIdAndOffset
impl Sync for TxIdAndOffset
impl Unpin for TxIdAndOffset
impl UnwindSafe for TxIdAndOffset
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