Struct cryptoapis::models::get_block_details_by_block_height_ribsbc::GetBlockDetailsByBlockHeightRibsbc
source · [−]pub struct GetBlockDetailsByBlockHeightRibsbc {
pub difficulty: String,
pub bits: String,
pub chainwork: String,
pub merkle_root: String,
pub nonce: String,
pub size: i32,
pub version: i32,
pub version_hex: String,
}
Expand description
GetBlockDetailsByBlockHeightRibsbc : Bitcoin Cash
Fields
difficulty: String
Represents a mathematical value of how hard it is to find a valid hash for this block.
bits: String
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
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
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.
nonce: String
Represents a random value that can be adjusted to satisfy the Proof of Work.
size: i32
Represents a random value that can be adjusted to satisfy the Proof of Work.
version: i32
Represents the version of the specific block on the blockchain.
version_hex: String
Is the hexadecimal string representation of the block’s version.
Implementations
Trait Implementations
sourceimpl Clone for GetBlockDetailsByBlockHeightRibsbc
impl Clone for GetBlockDetailsByBlockHeightRibsbc
sourcefn clone(&self) -> GetBlockDetailsByBlockHeightRibsbc
fn clone(&self) -> GetBlockDetailsByBlockHeightRibsbc
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 GetBlockDetailsByBlockHeightRibsbc
impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHeightRibsbc
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<GetBlockDetailsByBlockHeightRibsbc> for GetBlockDetailsByBlockHeightRibsbc
impl PartialEq<GetBlockDetailsByBlockHeightRibsbc> for GetBlockDetailsByBlockHeightRibsbc
sourcefn eq(&self, other: &GetBlockDetailsByBlockHeightRibsbc) -> bool
fn eq(&self, other: &GetBlockDetailsByBlockHeightRibsbc) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetBlockDetailsByBlockHeightRibsbc
Auto Trait Implementations
impl RefUnwindSafe for GetBlockDetailsByBlockHeightRibsbc
impl Send for GetBlockDetailsByBlockHeightRibsbc
impl Sync for GetBlockDetailsByBlockHeightRibsbc
impl Unpin for GetBlockDetailsByBlockHeightRibsbc
impl UnwindSafe for GetBlockDetailsByBlockHeightRibsbc
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