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 Clone for UiConfirmedBlock
impl Clone for UiConfirmedBlock
source§fn clone(&self) -> UiConfirmedBlock
fn clone(&self) -> UiConfirmedBlock
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 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 ==.