pub struct EncodedConfirmedBlock {
pub previous_blockhash: String,
pub blockhash: String,
pub parent_slot: Slot,
pub transactions: Vec<EncodedTransactionWithStatusMeta>,
pub rewards: Rewards,
pub block_time: Option<UnixTimestamp>,
pub block_height: Option<u64>,
}
Fields§
§previous_blockhash: String
§blockhash: String
§parent_slot: Slot
§transactions: Vec<EncodedTransactionWithStatusMeta>
§rewards: Rewards
§block_time: Option<UnixTimestamp>
§block_height: Option<u64>
Trait Implementations§
source§impl Debug for EncodedConfirmedBlock
impl Debug for EncodedConfirmedBlock
source§impl<'de> Deserialize<'de> for EncodedConfirmedBlock
impl<'de> Deserialize<'de> for EncodedConfirmedBlock
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 From<UiConfirmedBlock> for EncodedConfirmedBlock
impl From<UiConfirmedBlock> for EncodedConfirmedBlock
source§fn from(block: UiConfirmedBlock) -> Self
fn from(block: UiConfirmedBlock) -> Self
Converts to this type from the input type.
source§impl PartialEq<EncodedConfirmedBlock> for EncodedConfirmedBlock
impl PartialEq<EncodedConfirmedBlock> for EncodedConfirmedBlock
source§fn eq(&self, other: &EncodedConfirmedBlock) -> bool
fn eq(&self, other: &EncodedConfirmedBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.