Struct cryptoapis::models::get_block_details_by_block_hash_ribse::GetBlockDetailsByBlockHashRibse
source · [−]pub struct GetBlockDetailsByBlockHashRibse {
pub difficulty: String,
pub extra_data: String,
pub gas_limit: String,
pub gas_used: String,
pub mined_in_seconds: i32,
pub nonce: String,
pub sha3_uncles: String,
pub size: i32,
pub total_difficulty: String,
pub uncles: Vec<String>,
}
Expand description
GetBlockDetailsByBlockHashRibse : Ethereum
Fields
difficulty: String
Represents a mathematical value of how hard it is to find a valid hash for this block.
extra_data: String
Represents any data that can be included by the miner in the block.
gas_limit: String
Defines the total gas limit of all transactions in the block.
gas_used: String
Represents the total amount of gas used by all transactions in this block.
mined_in_seconds: i32
Specifies the amount of time required for the block to be mined in seconds.
nonce: String
Numeric representation of the block nonce
sha3_uncles: String
Defines the combined hash of all uncles for a given parent.
size: i32
Represents the total size of the block in Bytes.
total_difficulty: String
Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block.
uncles: Vec<String>
Implementations
Trait Implementations
sourceimpl Clone for GetBlockDetailsByBlockHashRibse
impl Clone for GetBlockDetailsByBlockHashRibse
sourcefn clone(&self) -> GetBlockDetailsByBlockHashRibse
fn clone(&self) -> GetBlockDetailsByBlockHashRibse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for GetBlockDetailsByBlockHashRibse
impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHashRibse
sourcefn 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
sourceimpl PartialEq<GetBlockDetailsByBlockHashRibse> for GetBlockDetailsByBlockHashRibse
impl PartialEq<GetBlockDetailsByBlockHashRibse> for GetBlockDetailsByBlockHashRibse
sourcefn eq(&self, other: &GetBlockDetailsByBlockHashRibse) -> bool
fn eq(&self, other: &GetBlockDetailsByBlockHashRibse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetBlockDetailsByBlockHashRibse
Auto Trait Implementations
impl RefUnwindSafe for GetBlockDetailsByBlockHashRibse
impl Send for GetBlockDetailsByBlockHashRibse
impl Sync for GetBlockDetailsByBlockHashRibse
impl Unpin for GetBlockDetailsByBlockHashRibse
impl UnwindSafe for GetBlockDetailsByBlockHashRibse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more