Struct nimiq_rpc::primitives::Block
source · pub struct Block {Show 14 fields
pub number: u32,
pub hash: String,
pub pow: String,
pub parent_hash: String,
pub nonce: u32,
pub body_hash: String,
pub accounts_hash: String,
pub miner: String,
pub miner_address: String,
pub difficulty: String,
pub extra_data: String,
pub size: u32,
pub timestamp: u32,
pub transactions: TransactionSequence,
}
Fields§
§number: u32
§hash: String
§pow: String
§parent_hash: String
§nonce: u32
§body_hash: String
§accounts_hash: String
§miner: String
§miner_address: String
§difficulty: String
§extra_data: String
§size: u32
§timestamp: u32
§transactions: TransactionSequence
Trait Implementations§
source§impl<'de> Deserialize<'de> for Block
impl<'de> Deserialize<'de> for Block
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 Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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