Struct cryptoapis::models::get_block_details_by_block_hash_response_item_blockchain_specific_ethereum_classic::GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic [−][src]
pub struct GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic { pub difficulty: String, pub nonce: String, pub size: i32, pub extra_data: String, pub gas_limit: String, pub gas_used: String, pub mined_in_seconds: i32, pub sha3_uncles: String, pub total_difficulty: String, pub uncles: Vec<String>, }
Expand description
GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic : Ethereum Classic
Fields
difficulty: String
Expand description
Represents a mathematical value of how hard it is to find a valid hash for this block.
nonce: String
Expand description
Represents a random value that can be adjusted to satisfy the Proof of Work.
size: i32
Expand description
Represents the total size of the block in Bytes.
extra_data: String
Expand description
Represents any data that can be included by the miner in the block.
gas_limit: String
Expand description
Defines the total gas limit of all transactions in the block.
gas_used: String
Expand description
Represents the total amount of gas used by all transactions in this block.
mined_in_seconds: i32
Expand description
Specifies the amount of time required for the block to be mined in seconds.
sha3_uncles: String
Expand description
Defines the combined hash of all uncles for a given parent.
total_difficulty: String
Expand description
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
impl GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]
impl GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]pub fn new(
difficulty: String,
nonce: String,
size: i32,
extra_data: String,
gas_limit: String,
gas_used: String,
mined_in_seconds: i32,
sha3_uncles: String,
total_difficulty: String,
uncles: Vec<String>
) -> GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]
pub fn new(
difficulty: String,
nonce: String,
size: i32,
extra_data: String,
gas_limit: String,
gas_used: String,
mined_in_seconds: i32,
sha3_uncles: String,
total_difficulty: String,
uncles: Vec<String>
) -> GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]Ethereum Classic
Trait Implementations
impl Clone for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]
impl Clone for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]fn clone(
&self
) -> GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]
fn clone(
&self
) -> GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]
impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[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 PartialEq<GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic> for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]
impl PartialEq<GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic> for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]fn eq(
&self,
other: &GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
) -> bool
[src]
fn eq(
&self,
other: &GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(
&self,
other: &GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
) -> bool
[src]
fn ne(
&self,
other: &GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
impl Send for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
impl Sync for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
impl Unpin for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
impl UnwindSafe for GetBlockDetailsByBlockHashResponseItemBlockchainSpecificEthereumClassic
Blanket Implementations
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> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,