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