pub struct Block {Show 13 fields
pub processed_without_critical_errors: bool,
pub block_hash: String,
pub previous_block_hash: String,
pub proposer: String,
pub blockchain_version: u64,
pub burned_fees: u64,
pub block_reward: u64,
pub transactions: Vec<BlockTransaction>,
pub timestamp: u64,
pub size: u32,
pub block_number: u32,
pub root_hash: String,
pub new_shares_per_spark: u64,
}Fields§
§processed_without_critical_errors: bool§block_hash: String§previous_block_hash: String§proposer: String§blockchain_version: u64§burned_fees: u64§block_reward: u64§transactions: Vec<BlockTransaction>§timestamp: u64§size: u32§block_number: u32§root_hash: StringTrait 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 UnsafeUnpin 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