Struct chainseeker_server::rest::RestBlockWithTxs [−][src]
pub struct RestBlockWithTxs {}
Fields
height: u32
header: String
hash: String
version: i32
previousblockhash: String
merkleroot: String
time: u32
bits: String
difficulty: f64
nonce: u32
size: u32
strippedsize: u32
weight: u32
txs: Vec<RestTx>
Implementations
pub fn from_block_content(
tx_db: &TxDB,
block_content: &BlockContentDBValue,
config: &Config
) -> Self
Trait Implementations
fn 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RestBlockWithTxs
impl Send for RestBlockWithTxs
impl Sync for RestBlockWithTxs
impl Unpin for RestBlockWithTxs
impl UnwindSafe for RestBlockWithTxs
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V