pub struct RestBlockWithTxids {}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§txids: Vec<String>Implementations§
Source§impl RestBlockWithTxids
impl RestBlockWithTxids
pub fn from_block_content( block_content: &BlockContentDBValue, config: &Config, ) -> Self
Trait Implementations§
Source§impl Clone for RestBlockWithTxids
impl Clone for RestBlockWithTxids
Source§fn clone(&self) -> RestBlockWithTxids
fn clone(&self) -> RestBlockWithTxids
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RestBlockWithTxids
impl Debug for RestBlockWithTxids
Source§impl<'de> Deserialize<'de> for RestBlockWithTxids
impl<'de> Deserialize<'de> for RestBlockWithTxids
Source§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
Source§impl PartialEq for RestBlockWithTxids
impl PartialEq for RestBlockWithTxids
Source§impl Serialize for RestBlockWithTxids
impl Serialize for RestBlockWithTxids
impl StructuralPartialEq for RestBlockWithTxids
Auto Trait Implementations§
impl Freeze for RestBlockWithTxids
impl RefUnwindSafe for RestBlockWithTxids
impl Send for RestBlockWithTxids
impl Sync for RestBlockWithTxids
impl Unpin for RestBlockWithTxids
impl UnwindSafe for RestBlockWithTxids
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more