pub struct GetLastMinedBlockRibsb {
pub difficulty: String,
pub bits: String,
pub chainwork: String,
pub merkle_root: String,
pub nonce: String,
pub size: i32,
pub stripped_size: i32,
pub version: i32,
pub version_hex: String,
pub weight: i32,
}
Expand description
GetLastMinedBlockRibsb : 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: String
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 GetLastMinedBlockRibsb
impl Clone for GetLastMinedBlockRibsb
sourcefn clone(&self) -> GetLastMinedBlockRibsb
fn clone(&self) -> GetLastMinedBlockRibsb
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 Debug for GetLastMinedBlockRibsb
impl Debug for GetLastMinedBlockRibsb
sourceimpl<'de> Deserialize<'de> for GetLastMinedBlockRibsb
impl<'de> Deserialize<'de> for GetLastMinedBlockRibsb
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<GetLastMinedBlockRibsb> for GetLastMinedBlockRibsb
impl PartialEq<GetLastMinedBlockRibsb> for GetLastMinedBlockRibsb
sourcefn eq(&self, other: &GetLastMinedBlockRibsb) -> bool
fn eq(&self, other: &GetLastMinedBlockRibsb) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GetLastMinedBlockRibsb
impl Serialize for GetLastMinedBlockRibsb
impl StructuralPartialEq for GetLastMinedBlockRibsb
Auto Trait Implementations
impl RefUnwindSafe for GetLastMinedBlockRibsb
impl Send for GetLastMinedBlockRibsb
impl Sync for GetLastMinedBlockRibsb
impl Unpin for GetLastMinedBlockRibsb
impl UnwindSafe for GetLastMinedBlockRibsb
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