Struct cryptoapis::models::get_block_details_by_block_height_ribsb::GetBlockDetailsByBlockHeightRibsb
source · [−]pub struct GetBlockDetailsByBlockHeightRibsb {
pub difficulty: String,
pub bits: String,
pub chainwork: String,
pub merkle_root: String,
pub nonce: i64,
pub size: i32,
pub stripped_size: i32,
pub version: i32,
pub version_hex: String,
pub weight: i32,
}
Expand description
GetBlockDetailsByBlockHeightRibsb : Bitcoin
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: i64
Represents a random value that can be adjusted to satisfy the Proof of Work.
size: i32
Represents the total size of the block in Bytes.
stripped_size: i32
Defines the numeric representation of the block size excluding the witness data.
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.
weight: i32
Represents a measurement to compare the size of different transactions to each other in proportion to the block size limit.
Implementations
Trait Implementations
sourceimpl Clone for GetBlockDetailsByBlockHeightRibsb
impl Clone for GetBlockDetailsByBlockHeightRibsb
sourcefn clone(&self) -> GetBlockDetailsByBlockHeightRibsb
fn clone(&self) -> GetBlockDetailsByBlockHeightRibsb
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 GetBlockDetailsByBlockHeightRibsb
impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHeightRibsb
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<GetBlockDetailsByBlockHeightRibsb> for GetBlockDetailsByBlockHeightRibsb
impl PartialEq<GetBlockDetailsByBlockHeightRibsb> for GetBlockDetailsByBlockHeightRibsb
sourcefn eq(&self, other: &GetBlockDetailsByBlockHeightRibsb) -> bool
fn eq(&self, other: &GetBlockDetailsByBlockHeightRibsb) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetBlockDetailsByBlockHeightRibsb
Auto Trait Implementations
impl RefUnwindSafe for GetBlockDetailsByBlockHeightRibsb
impl Send for GetBlockDetailsByBlockHeightRibsb
impl Sync for GetBlockDetailsByBlockHeightRibsb
impl Unpin for GetBlockDetailsByBlockHeightRibsb
impl UnwindSafe for GetBlockDetailsByBlockHeightRibsb
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