Struct solana_transaction_status::UiConfirmedBlock [−][src]
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>, }
Fields
previous_blockhash: String
blockhash: String
parent_slot: Slot
transactions: Option<Vec<EncodedTransactionWithStatusMeta>>
signatures: Option<Vec<String>>
rewards: Option<Rewards>
block_time: Option<UnixTimestamp>
Trait Implementations
impl Debug for UiConfirmedBlock
[src]
impl Debug for UiConfirmedBlock
[src]impl<'de> Deserialize<'de> for UiConfirmedBlock
[src]
impl<'de> Deserialize<'de> for UiConfirmedBlock
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl From<EncodedConfirmedBlock> for UiConfirmedBlock
[src]
impl From<EncodedConfirmedBlock> for UiConfirmedBlock
[src]fn from(block: EncodedConfirmedBlock) -> Self
[src]
fn from(block: EncodedConfirmedBlock) -> Self
[src]Performs the conversion.
impl From<UiConfirmedBlock> for EncodedConfirmedBlock
[src]
impl From<UiConfirmedBlock> for EncodedConfirmedBlock
[src]fn from(block: UiConfirmedBlock) -> Self
[src]
fn from(block: UiConfirmedBlock) -> Self
[src]Performs the conversion.
impl PartialEq<UiConfirmedBlock> for UiConfirmedBlock
[src]
impl PartialEq<UiConfirmedBlock> for UiConfirmedBlock
[src]fn eq(&self, other: &UiConfirmedBlock) -> bool
[src]
fn eq(&self, other: &UiConfirmedBlock) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &UiConfirmedBlock) -> bool
[src]
fn ne(&self, other: &UiConfirmedBlock) -> bool
[src]This method tests for !=
.
impl Serialize for UiConfirmedBlock
[src]
impl Serialize for UiConfirmedBlock
[src]impl StructuralPartialEq for UiConfirmedBlock
[src]
Auto Trait Implementations
impl RefUnwindSafe for UiConfirmedBlock
impl Send for UiConfirmedBlock
impl Sync for UiConfirmedBlock
impl Unpin for UiConfirmedBlock
impl UnwindSafe for UiConfirmedBlock
Blanket Implementations
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,