Struct cryptoapis::models::get_block_details_by_block_height_response_item_blockchain_specific_bitcoin_cash::GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash[][src]

pub struct GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash {
    pub difficulty: String,
    pub nonce: String,
    pub size: i32,
    pub bits: String,
    pub chainwork: String,
    pub merkle_root: String,
    pub version: i32,
    pub version_hex: String,
}
Expand description

GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash : Bitcoin Cash

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.

bits: String
Expand description

A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and is the same as microbitcoin (μBTC). Bits have two-decimal precision.

chainwork: String
Expand description

Represents a hexadecimal number of all the hashes necessary to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes.

merkle_root: String
Expand description

Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions’ hashes that are part of a blockchain block.

version: i32
Expand description

Represents the version of the specific block on the blockchain.

version_hex: String
Expand description

Is the hexadecimal string representation of the block’s version.

Implementations

impl GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash[src]

pub fn new(
    difficulty: String,
    nonce: String,
    size: i32,
    bits: String,
    chainwork: String,
    merkle_root: String,
    version: i32,
    version_hex: String
) -> GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash
[src]

Bitcoin Cash

Trait Implementations

impl Clone for GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash[src]

fn clone(
    &self
) -> GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash
[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash[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<GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash> for GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash[src]

fn eq(
    &self,
    other: &GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash
) -> bool
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(
    &self,
    other: &GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash
) -> bool
[src]

This method tests for !=.

impl Serialize for GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl StructuralPartialEq for GetBlockDetailsByBlockHeightResponseItemBlockchainSpecificBitcoinCash[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> Instrument for T[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]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]

🔬 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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]