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