Struct solana_runtime::bank::bank_hash_details::SlotDetails
source · pub struct SlotDetails {
pub slot: Slot,
pub bank_hash: String,
pub parent_bank_hash: String,
pub accounts_delta_hash: String,
pub signature_count: u64,
pub last_blockhash: String,
pub accounts: AccountsDetails,
pub transactions: Vec<TransactionDetails>,
}
Expand description
The components that go into a bank hash calculation for a single bank/slot.
Fields§
§slot: Slot
§bank_hash: String
§parent_bank_hash: String
§accounts_delta_hash: String
§signature_count: u64
§last_blockhash: String
§accounts: AccountsDetails
§transactions: Vec<TransactionDetails>
Implementations§
Trait Implementations§
source§impl Clone for SlotDetails
impl Clone for SlotDetails
source§fn clone(&self) -> SlotDetails
fn clone(&self) -> SlotDetails
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 SlotDetails
impl Debug for SlotDetails
source§impl Default for SlotDetails
impl Default for SlotDetails
source§fn default() -> SlotDetails
fn default() -> SlotDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SlotDetails
impl<'de> Deserialize<'de> for SlotDetails
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 PartialEq for SlotDetails
impl PartialEq for SlotDetails
source§impl Serialize for SlotDetails
impl Serialize for SlotDetails
source§impl TryFrom<&Bank> for SlotDetails
impl TryFrom<&Bank> for SlotDetails
impl Eq for SlotDetails
impl StructuralPartialEq for SlotDetails
Auto Trait Implementations§
impl Freeze for SlotDetails
impl RefUnwindSafe for SlotDetails
impl Send for SlotDetails
impl Sync for SlotDetails
impl Unpin for SlotDetails
impl UnwindSafe for SlotDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more