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