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