Struct cryptoapis::models::get_block_details_by_block_hash_from_callback_ribse::GetBlockDetailsByBlockHashFromCallbackRibse
source · [−]pub struct GetBlockDetailsByBlockHashFromCallbackRibse {
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: Option<Vec<String>>,
}
Expand description
GetBlockDetailsByBlockHashFromCallbackRibse : 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
Represents a random value that can be adjusted to satisfy the proof of work
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: Option<Vec<String>>
Implementations
Trait Implementations
sourceimpl Clone for GetBlockDetailsByBlockHashFromCallbackRibse
impl Clone for GetBlockDetailsByBlockHashFromCallbackRibse
sourcefn clone(&self) -> GetBlockDetailsByBlockHashFromCallbackRibse
fn clone(&self) -> GetBlockDetailsByBlockHashFromCallbackRibse
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 GetBlockDetailsByBlockHashFromCallbackRibse
impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHashFromCallbackRibse
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<GetBlockDetailsByBlockHashFromCallbackRibse> for GetBlockDetailsByBlockHashFromCallbackRibse
impl PartialEq<GetBlockDetailsByBlockHashFromCallbackRibse> for GetBlockDetailsByBlockHashFromCallbackRibse
sourcefn eq(&self, other: &GetBlockDetailsByBlockHashFromCallbackRibse) -> bool
fn eq(&self, other: &GetBlockDetailsByBlockHashFromCallbackRibse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetBlockDetailsByBlockHashFromCallbackRibse
Auto Trait Implementations
impl RefUnwindSafe for GetBlockDetailsByBlockHashFromCallbackRibse
impl Send for GetBlockDetailsByBlockHashFromCallbackRibse
impl Sync for GetBlockDetailsByBlockHashFromCallbackRibse
impl Unpin for GetBlockDetailsByBlockHashFromCallbackRibse
impl UnwindSafe for GetBlockDetailsByBlockHashFromCallbackRibse
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