pub struct VersionedConfirmedBlock {
pub previous_blockhash: String,
pub blockhash: String,
pub parent_slot: Slot,
pub transactions: Vec<VersionedTransactionWithStatusMeta>,
pub rewards: Rewards,
pub block_time: Option<UnixTimestamp>,
pub block_height: Option<u64>,
}
Fields§
§previous_blockhash: String
§blockhash: String
§parent_slot: Slot
§transactions: Vec<VersionedTransactionWithStatusMeta>
§rewards: Rewards
§block_time: Option<UnixTimestamp>
§block_height: Option<u64>
Trait Implementations§
source§impl Clone for VersionedConfirmedBlock
impl Clone for VersionedConfirmedBlock
source§fn clone(&self) -> VersionedConfirmedBlock
fn clone(&self) -> VersionedConfirmedBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VersionedConfirmedBlock
impl Debug for VersionedConfirmedBlock
source§impl From<VersionedConfirmedBlock> for ConfirmedBlock
impl From<VersionedConfirmedBlock> for ConfirmedBlock
source§fn from(block: VersionedConfirmedBlock) -> Self
fn from(block: VersionedConfirmedBlock) -> Self
Converts to this type from the input type.
source§impl PartialEq<VersionedConfirmedBlock> for VersionedConfirmedBlock
impl PartialEq<VersionedConfirmedBlock> for VersionedConfirmedBlock
source§fn eq(&self, other: &VersionedConfirmedBlock) -> bool
fn eq(&self, other: &VersionedConfirmedBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.