pub struct BlockFormat {
pub id: String,
pub height: u32,
pub version: u32,
pub timestamp: u32,
pub bits: u32,
pub nonce: u32,
pub difficulty: u32,
pub merkle_root: String,
pub tx_count: u32,
pub size: u32,
pub weight: u32,
pub previousblockhash: String,
}Fields§
§id: String§height: u32§version: u32§timestamp: u32§bits: u32§nonce: u32§difficulty: u32§merkle_root: String§tx_count: u32§size: u32§weight: u32§previousblockhash: StringTrait Implementations§
Source§impl Debug for BlockFormat
impl Debug for BlockFormat
Source§impl<'de> Deserialize<'de> for BlockFormat
impl<'de> Deserialize<'de> for BlockFormat
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
Auto Trait Implementations§
impl Freeze for BlockFormat
impl RefUnwindSafe for BlockFormat
impl Send for BlockFormat
impl Sync for BlockFormat
impl Unpin for BlockFormat
impl UnwindSafe for BlockFormat
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