Struct cryptoapis::models::get_block_details_by_block_height_from_callback_ribs::GetBlockDetailsByBlockHeightFromCallbackRibs
source · [−]pub struct GetBlockDetailsByBlockHeightFromCallbackRibs {Show 27 fields
pub bits: String,
pub chainwork: String,
pub difficulty: 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,
pub strippedsize: i32,
pub extra_data: String,
pub gas_limit: String,
pub gas_used: String,
pub mined_in_seconds: i32,
pub sha3_uncles: String,
pub total_difficulty: String,
pub uncles: Vec<String>,
pub ds_block: i32,
pub ds_difficulty: String,
pub ds_leader: String,
pub micro_blocks: Vec<String>,
pub total_coins: Box<GetLatestMinedXrpRippleBlockRiTotalCoins>,
pub total_fees: Box<GetLatestMinedXrpRippleBlockRiTotalFees>,
pub bandwidth_used: String,
pub burned_trx: String,
pub energy_used: String,
}
Fields
bits: String
Represents a specific sub-unit of Zcash. 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: String
Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender’s address.
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 transaction version number.
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.
strippedsize: i32
Defines the numeric representation of the block size excluding the witness data.
extra_data: String
Represents any data that can be included by the miner in the block.
gas_limit: String
Represents the amount of gas used by this specific transaction alone.
gas_used: String
Represents the exact unit of gas that was used for the transaction.
mined_in_seconds: i32
Specifies the amount of time required for the block to be mined in seconds.
sha3_uncles: String
Defines the combined hash of all uncles for a given parent.
total_difficulty: String
Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block.
uncles: Vec<String>
ds_block: i32
Represents the Directory Service block which contains metadata about the miners who participate in the consensus protocol.
ds_difficulty: String
Defines how difficult it is to mine the dsBlocks.
ds_leader: String
Represents a part of the DS Committee which leads the consensus protocol for the epoch.
micro_blocks: Vec<String>
total_coins: Box<GetLatestMinedXrpRippleBlockRiTotalCoins>
total_fees: Box<GetLatestMinedXrpRippleBlockRiTotalFees>
bandwidth_used: String
Represents the bandwidth used for the transaction.
burned_trx: String
Represents the block burned TRX.
energy_used: String
Representats the used energy for the transaction.
Implementations
sourceimpl GetBlockDetailsByBlockHeightFromCallbackRibs
impl GetBlockDetailsByBlockHeightFromCallbackRibs
pub fn new(
bits: String,
chainwork: String,
difficulty: String,
merkle_root: String,
nonce: String,
size: i32,
stripped_size: i32,
version: i32,
version_hex: String,
weight: i32,
strippedsize: i32,
extra_data: String,
gas_limit: String,
gas_used: String,
mined_in_seconds: i32,
sha3_uncles: String,
total_difficulty: String,
uncles: Vec<String>,
ds_block: i32,
ds_difficulty: String,
ds_leader: String,
micro_blocks: Vec<String>,
total_coins: GetLatestMinedXrpRippleBlockRiTotalCoins,
total_fees: GetLatestMinedXrpRippleBlockRiTotalFees,
bandwidth_used: String,
burned_trx: String,
energy_used: String
) -> GetBlockDetailsByBlockHeightFromCallbackRibs
Trait Implementations
sourceimpl Clone for GetBlockDetailsByBlockHeightFromCallbackRibs
impl Clone for GetBlockDetailsByBlockHeightFromCallbackRibs
sourcefn clone(&self) -> GetBlockDetailsByBlockHeightFromCallbackRibs
fn clone(&self) -> GetBlockDetailsByBlockHeightFromCallbackRibs
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 GetBlockDetailsByBlockHeightFromCallbackRibs
impl<'de> Deserialize<'de> for GetBlockDetailsByBlockHeightFromCallbackRibs
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<GetBlockDetailsByBlockHeightFromCallbackRibs> for GetBlockDetailsByBlockHeightFromCallbackRibs
impl PartialEq<GetBlockDetailsByBlockHeightFromCallbackRibs> for GetBlockDetailsByBlockHeightFromCallbackRibs
sourcefn eq(&self, other: &GetBlockDetailsByBlockHeightFromCallbackRibs) -> bool
fn eq(&self, other: &GetBlockDetailsByBlockHeightFromCallbackRibs) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetBlockDetailsByBlockHeightFromCallbackRibs
Auto Trait Implementations
impl RefUnwindSafe for GetBlockDetailsByBlockHeightFromCallbackRibs
impl Send for GetBlockDetailsByBlockHeightFromCallbackRibs
impl Sync for GetBlockDetailsByBlockHeightFromCallbackRibs
impl Unpin for GetBlockDetailsByBlockHeightFromCallbackRibs
impl UnwindSafe for GetBlockDetailsByBlockHeightFromCallbackRibs
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