Struct cryptoapis::models::get_block_details_by_block_hash_from_callback_ribsd::GetBlockDetailsByBlockHashFromCallbackRibsd
source · [−]pub struct GetBlockDetailsByBlockHashFromCallbackRibsd {
pub bits: String,
pub chainwork: String,
pub difficulty: String,
pub merkle_root: String,
pub nonce: i64,
pub size: i32,
pub version: i32,
pub version_hex: String,
}
Expand description
GetBlockDetailsByBlockHashFromCallbackRibsd : Dash
Fields
bits: String
Represents a specific sub-unit of Dash. 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.
difficulty: String
Represents a mathematical value of how hard it is to find a valid hash for this block.
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.
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 GetBlockDetailsByBlockHashFromCallbackRibsd
impl Clone for GetBlockDetailsByBlockHashFromCallbackRibsd
sourcefn clone(&self) -> GetBlockDetailsByBlockHashFromCallbackRibsd
fn clone(&self) -> GetBlockDetailsByBlockHashFromCallbackRibsd
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 GetBlockDetailsByBlockHashFromCallbackRibsd
impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHashFromCallbackRibsd
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<GetBlockDetailsByBlockHashFromCallbackRibsd> for GetBlockDetailsByBlockHashFromCallbackRibsd
impl PartialEq<GetBlockDetailsByBlockHashFromCallbackRibsd> for GetBlockDetailsByBlockHashFromCallbackRibsd
sourcefn eq(&self, other: &GetBlockDetailsByBlockHashFromCallbackRibsd) -> bool
fn eq(&self, other: &GetBlockDetailsByBlockHashFromCallbackRibsd) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetBlockDetailsByBlockHashFromCallbackRibsd
Auto Trait Implementations
impl RefUnwindSafe for GetBlockDetailsByBlockHashFromCallbackRibsd
impl Send for GetBlockDetailsByBlockHashFromCallbackRibsd
impl Sync for GetBlockDetailsByBlockHashFromCallbackRibsd
impl Unpin for GetBlockDetailsByBlockHashFromCallbackRibsd
impl UnwindSafe for GetBlockDetailsByBlockHashFromCallbackRibsd
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