#[repr(C)]pub struct ReplicaDeshredTransactionInfoV2<'a> {
pub signature: &'a Signature,
pub is_vote: bool,
pub transaction: &'a VersionedTransaction,
pub loaded_addresses: Option<&'a LoadedAddresses>,
pub completed_data_set_starting_shred_index: u32,
pub completed_data_set_ending_shred_index_exclusive: u32,
}Expand description
Extends ReplicaDeshredTransactionInfo with metadata about the completed data set that produced the transaction.
A completed data set is a contiguous range of data shreds whose combined payload deserializes
to a single Vec<Entry>. Multiple transactions can share the same completed-data-set range,
and completed data sets for the same slot may be observed out of order. These fields describe
the data-set container; they are not a block-wide transaction index.
Fields§
§signature: &'a SignatureThe transaction signature, used for identifying the transaction.
is_vote: boolIndicates if the transaction is a simple vote transaction.
transaction: &'a VersionedTransactionThe versioned transaction.
loaded_addresses: Option<&'a LoadedAddresses>Addresses loaded from address lookup tables for V0 transactions.
completed_data_set_starting_shred_index: u32The inclusive starting shred index of the completed data set containing this transaction.
completed_data_set_ending_shred_index_exclusive: u32The exclusive ending shred index of the completed data set containing this transaction.
Trait Implementations§
Source§impl<'a> Clone for ReplicaDeshredTransactionInfoV2<'a>
impl<'a> Clone for ReplicaDeshredTransactionInfoV2<'a>
Source§fn clone(&self) -> ReplicaDeshredTransactionInfoV2<'a>
fn clone(&self) -> ReplicaDeshredTransactionInfoV2<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for ReplicaDeshredTransactionInfoV2<'a>
impl<'a> RefUnwindSafe for ReplicaDeshredTransactionInfoV2<'a>
impl<'a> Send for ReplicaDeshredTransactionInfoV2<'a>
impl<'a> Sync for ReplicaDeshredTransactionInfoV2<'a>
impl<'a> Unpin for ReplicaDeshredTransactionInfoV2<'a>
impl<'a> UnsafeUnpin for ReplicaDeshredTransactionInfoV2<'a>
impl<'a> UnwindSafe for ReplicaDeshredTransactionInfoV2<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more